diff options
Diffstat (limited to 'test/Transforms/SimplifyLibCalls/MemCpy.ll')
-rw-r--r-- | test/Transforms/SimplifyLibCalls/MemCpy.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyLibCalls/MemCpy.ll b/test/Transforms/SimplifyLibCalls/MemCpy.ll index 5e701b4106..265be73c0e 100644 --- a/test/Transforms/SimplifyLibCalls/MemCpy.ll +++ b/test/Transforms/SimplifyLibCalls/MemCpy.ll @@ -1,5 +1,6 @@ ; Test that the StrCatOptimizer works correctly -; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy' +; RUN: llvm-as < %s | opt -constprop -simplify-libcalls -disable-output && +; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy' declare sbyte* %llvm.memcpy(sbyte*,sbyte*,int,int) %h = constant [2 x sbyte] c"h\00" |