Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / mul-shift-reassoc.ll
index f870f7aa6fd58091c7afc9d4ef03c668eaf53dfe..52d188d9430152fb09385afa646cec0bfff9fe8b 100644 (file)
@@ -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-as | llc -march=x86 | grep lea
+; RUN: llvm-upgrade < %s | llvm-as | 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