Use the libanalysis 'ConstantFoldLoadFromConstPtr' function
[oota-llvm.git] / test / Transforms / SCCP / apint-array.ll
index ead3f6ab9a669c27e67c480e5cd59f9adb50cdc7..1e75878f3aeb5675063f7e30b4e63ebc65ffec75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i101 12}
+; RUN: opt < %s -sccp -S | grep {ret i101 12}
 
 @Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,i101 
 -123456789000000, i101 0,i101 9123456789000000]