llvm-65816/test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll

11 lines
209 B
LLVM

; RUN: llc < %s -march=x86 | FileCheck %s
; CHECK-NOT: movl
define zeroext i8 @t(i8 zeroext %x, i8 zeroext %y) {
%tmp2 = add i8 %x, 2
%tmp4 = add i8 %y, -2
%tmp5 = mul i8 %tmp4, %tmp2
ret i8 %tmp5
}