Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / SimplifyLibCalls / MemMove.ll
index 71ef701176b1464dbacc0db733a414ee66b0fc73..a114438921f4a598da9153c91a4374f1b3e9582c 100644 (file)
@@ -1,5 +1,6 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
 
 declare sbyte* %llvm.memmove(sbyte*,sbyte*,int,int)
 %h = constant [2 x sbyte] c"h\00"