Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / InstCombine / setcc-strength-reduce.ll
index 17ad7dc2e69ac8750c7f00af260009f9952fb188..4c86206397cd944a09a5b4c75dc09609a27ed2af 100644 (file)
@@ -3,19 +3,19 @@
 ; into equivalent setne,eq instructions.
 ;
 
-; RUN: as < %s | opt -instcombine | dis | grep -v seteq | grep -v setne | not grep set
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep -v seteq | grep -v setne | not grep set
 
-bool "test1"(uint %A) {
+bool %test1(uint %A) {
        %B = setge uint %A, 1   ; setne %A, 0
        ret bool %B
 }
 
-bool "test2"(uint %A) {
+bool %test2(uint %A) {
        %B = setgt uint %A, 0   ; setne %A, 0
        ret bool %B
 }
 
-bool "test3"(sbyte %A) {
+bool %test3(sbyte %A) {
        %B = setge sbyte %A, -127   ; setne %A, -128
        ret bool %B
 }