diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-28 23:02:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-28 23:02:20 +0000 |
commit | 5944ba63362e7d3bac0ac2efbc1621d3da2d9fd4 (patch) | |
tree | 0fdb6e13378ebc5a26e51f793e882712253be1c5 /test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll | |
parent | 9272228189c72a409c72e75b5b421e8528647cb8 (diff) | |
download | external_llvm-5944ba63362e7d3bac0ac2efbc1621d3da2d9fd4.zip external_llvm-5944ba63362e7d3bac0ac2efbc1621d3da2d9fd4.tar.gz external_llvm-5944ba63362e7d3bac0ac2efbc1621d3da2d9fd4.tar.bz2 |
Switch tests over to use the 'not' script, instead of explicit control flow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll')
-rw-r--r-- | test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll b/test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll index 588c77d..33556fe 100644 --- a/test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll +++ b/test/Transforms/LevelRaise/2002-11-13-PointerFunction.ll @@ -1,9 +1,6 @@ ; This testcase should be able to eliminate at least one of the casts. ; -; RUN: if as < %s | opt -raise | dis | grep 'REMOVE' -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -raise | dis | not grep 'REMOVE' int %foo(sbyte * %PF) { %UPF = cast sbyte* %PF to uint()* |