summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
blob: 4f7ae327d1fdd712da71088144133fe1ca08e905 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}