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
/
pr3216.ll
diff --git
a/test/CodeGen/X86/pr3216.ll
b/test/CodeGen/X86/pr3216.ll
index a4a48210d358bd023f58069f1295dd8c47b260ac..23dcf5693cd0190c43f1c30fea13d6985f1d7996 100644
(file)
--- a/
test/CodeGen/X86/pr3216.ll
+++ b/
test/CodeGen/X86/pr3216.ll
@@
-8,7
+8,7
@@
define i32 @main() nounwind {
; CHECK: sar{{.}} $5
; CHECK: ret
- %tmp = load i8* @foo
+ %tmp = load i8
, i8
* @foo
%bf.lo = lshr i8 %tmp, 5
%bf.lo.cleared = and i8 %bf.lo, 7
%1 = shl i8 %bf.lo.cleared, 5