Redo and generalize previously removed opt for pinsrw: (vextract (v4i32 bc (v4f32...
[oota-llvm.git] / test / Assembler / ConstantExprFoldCast.llx
index 38763a7306fb232348431818326740543ec8fc14..abc93168cfe1e2875fcfd1f2016dd0e48d394e56 100644 (file)
@@ -1,9 +1,6 @@
 ; This test checks to make sure that constant exprs fold in some simple situations
 
-; RUN: if as < %s | dis | grep cast
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; 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