diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 08:30:33 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 08:30:33 +0000 |
commit | 2aabd0722d68ee53af9ad7140d1c0b853b6fe421 (patch) | |
tree | 38295072c2091b770ddcf7d93d494590563bc70e /test/Transforms/Inline/inline_cleanup.ll | |
parent | 08af6fd5fcd58b4d0304e41c8c19abe71be0cbbf (diff) | |
download | external_llvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.zip external_llvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.tar.gz external_llvm-2aabd0722d68ee53af9ad7140d1c0b853b6fe421.tar.bz2 |
For PR1319:
Upgrade to use new Tcl exec based test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Inline/inline_cleanup.ll')
-rw-r--r-- | test/Transforms/Inline/inline_cleanup.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/Inline/inline_cleanup.ll b/test/Transforms/Inline/inline_cleanup.ll index f0c153b..2ec67ff 100644 --- a/test/Transforms/Inline/inline_cleanup.ll +++ b/test/Transforms/Inline/inline_cleanup.ll @@ -1,9 +1,10 @@ ; Test that the inliner doesn't leave around dead allocas, and that it folds ; uncond branches away after it is done specializing. -; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output && -; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | not grep 'alloca.*uses=0' && -; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | not grep 'br label' +; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | \ +; RUN: not grep {alloca.*uses=0} +; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | \ +; RUN: not grep {br label} %A = weak global int 0 ; <int*> [#uses=1] %B = weak global int 0 ; <int*> [#uses=1] |