Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Assembler / ConstantExprFoldCast.llx
index 48394ddfab425604616a2b89111764a58b2e47fe..abc93168cfe1e2875fcfd1f2016dd0e48d394e56 100644 (file)
@@ -1,6 +1,6 @@
 ; This test checks to make sure that constant exprs fold in some simple situations
 
-; RUN: llvm-as < %s | llvm-dis | not grep cast
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep cast
 
 %A = global int* cast (sbyte* null to int*)  ; Cast null -> fold
 %B = global int** cast (int** %A to int**)   ; Cast to same type -> fold