mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
New test. Bogus implicit-def prevented a copy from being coalesced.
llvm-svn: 40690
This commit is contained in:
parent
fb587a3851
commit
8183a284fd
8
test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
Normal file
8
test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 | not grep movl
|
||||
|
||||
define i8 @t(i8 zeroext %x, i8 zeroext %y) zeroext {
|
||||
%tmp2 = add i8 %x, 2
|
||||
%tmp4 = add i8 %y, -2
|
||||
%tmp5 = mul i8 %tmp4, %tmp2
|
||||
ret i8 %tmp5
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user