19 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s3 4define i32 @test(i32 %a, i32 %b) {5; CHECK-LABEL: test:6; CHECK: ## %bb.0:7; CHECK-NEXT: ## kill: def $esi killed $esi def $rsi8; CHECK-NEXT: ## kill: def $edi killed $edi def $rdi9; CHECK-NEXT: leal -1(%rdi), %ecx10; CHECK-NEXT: leal 1(%rsi), %eax11; CHECK-NEXT: imull %ecx, %eax12; CHECK-NEXT: retq13 %a1 = add i32 %a, -114 %b1 = add i32 %b, 115 %res = mul i32 %a1, %b116 ret i32 %res17}18 19