diff options
Diffstat (limited to 'test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll')
-rw-r--r-- | test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll b/test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll index c5b2157..52cf268 100644 --- a/test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll +++ b/test/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll @@ -1,7 +1,4 @@ -; RUN: if as < %s | opt -raise | dis | grep '= cast' | grep \* -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -raise | dis | grep '= cast' | not grep \* %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } * %HashEntry = type { uint, sbyte *, \2 } * @@ -9,9 +6,7 @@ %hash_entry = type { uint, sbyte *, \2 * } implementation -%Hash "MakeHash"(int %size, int (uint) * %map) -begin -bb0: ;[#uses=1] +%Hash "MakeHash"(int %size, int (uint) * %map) { %reg112 = malloc sbyte * *, uint 3 ; <sbyte * * *> [#uses=5] %reg107-uint = cast int %size to uint ; <uint> [#uses=1] %reg115 = malloc sbyte *, uint %reg107-uint ; <sbyte * *> [#uses=1] @@ -19,5 +14,5 @@ bb0: ;[#uses=1] %cast246 = cast sbyte * * * %reg112 to %Hash ; <%Hash> [#uses=1] ret %Hash %cast246 -end +} |