summaryrefslogtreecommitdiffstats
path: root/test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll')
-rw-r--r--test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll b/test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
index c9277fb..6a7faf4 100644
--- a/test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
+++ b/test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
@@ -5,6 +5,8 @@
implementation
sbyte* %test(int* %ptr) {
%A = cast int* %ptr to sbyte *
- %B = add sbyte* %A, %A
+ %A = cast sbyte* %A to ulong
+ %B = add ulong %A, %A
+ %B = cast ulong %B to sbyte*
ret sbyte * %B
}