projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
mul-shift-reassoc.ll
diff --git
a/test/CodeGen/X86/mul-shift-reassoc.ll
b/test/CodeGen/X86/mul-shift-reassoc.ll
index f870f7aa6fd58091c7afc9d4ef03c668eaf53dfe..52d188d9430152fb09385afa646cec0bfff9fe8b 100644
(file)
--- a/
test/CodeGen/X86/mul-shift-reassoc.ll
+++ b/
test/CodeGen/X86/mul-shift-reassoc.ll
@@
-1,5
+1,5
@@
-; RUN: llvm-
as < %
s | llc -march=x86 | grep lea
-; RUN: llvm-
as < %
s | llc -march=x86 | not grep add
+; RUN: llvm-
upgrade < %s | llvm-a
s | llc -march=x86 | grep lea
+; RUN: llvm-
upgrade < %s | llvm-a
s | llc -march=x86 | not grep add
int %test(int %X, int %Y) {
; Push the shl through the mul to allow an LEA to be formed, instead
int %test(int %X, int %Y) {
; Push the shl through the mul to allow an LEA to be formed, instead