projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
i2k.ll
diff --git
a/test/CodeGen/X86/i2k.ll
b/test/CodeGen/X86/i2k.ll
index 6116c2e71658686645271f5e09e59513feeb1b87..83c10a58a3a88b6373983ae13ff754e657ed5437 100644
(file)
--- a/
test/CodeGen/X86/i2k.ll
+++ b/
test/CodeGen/X86/i2k.ll
@@
-1,8
+1,8
@@
; RUN: llc < %s -march=x86
define void @foo(i2011* %x, i2011* %y, i2011* %p) nounwind {
- %a = load i2011* %x
- %b = load i2011* %y
+ %a = load i2011
, i2011
* %x
+ %b = load i2011
, i2011
* %y
%c = add i2011 %a, %b
store i2011 %c, i2011* %p
ret void