diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
commit | 3e054fe9efc64596534bbae0d1634ed15181d642 (patch) | |
tree | 8da773058a2492290d4648d8f5dba5c3b8382142 /test/Transforms/GVN/calls-readonly.ll | |
parent | f31657990191d5b2bb1eb3bd95020fc3375f0e3d (diff) | |
download | external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.zip external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.gz external_llvm-3e054fe9efc64596534bbae0d1634ed15181d642.tar.bz2 |
Use opt -S instead of piping bitcode output through llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN/calls-readonly.ll')
-rw-r--r-- | test/Transforms/GVN/calls-readonly.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GVN/calls-readonly.ll b/test/Transforms/GVN/calls-readonly.ll index c482261..41be324 100644 --- a/test/Transforms/GVN/calls-readonly.ll +++ b/test/Transforms/GVN/calls-readonly.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn | llvm-dis | grep {call.*strlen} | count 1 +; RUN: opt %s -basicaa -gvn -S | grep {call.*strlen} | count 1 ; Should delete the second call to strlen even though the intervening strchr call exists. target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" |