Manually convert this to new assembly.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 7 Dec 2006 04:20:23 +0000 (04:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 7 Dec 2006 04:20:23 +0000 (04:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32301 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LevelRaise/2002-03-21-MissedRaise.ll

index 440f9ea5ff76af239265a8f1656b275cafca9c55..f9176c9829cca49c90a4f2eb37a726c0af6d454b 100644 (file)
@@ -2,7 +2,7 @@
 ; LevelRaise should eliminate all cast instructions from this testcase.
 ;
 ; XFAIL: *
-; RUN: llvm-upgrade < %s | llvm-as | opt -raise | llvm-dis | notcast
+; RUN: llvm-as < %s | opt -raise | llvm-dis | notcast
 
        %Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
        %hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int }
@@ -13,10 +13,10 @@ implementation
 begin
        %reg112 = malloc sbyte, uint 24         ; <sbyte *> [#uses=5]
        %reg115 = malloc sbyte, uint 96         ; <sbyte *> [#uses=1]
-       %cast237 = cast sbyte * %reg112 to sbyte * *            ; <sbyte * *> [#uses=1]
+       %cast237 = bitcast sbyte * %reg112 to sbyte * *         ; <sbyte * *> [#uses=1]
        store sbyte * %reg115, sbyte * * %cast237
 
-       %cast246 = cast sbyte * %reg112 to %Hash                ; <%Hash> [#uses=1]
+       %cast246 = bitcast sbyte * %reg112 to %Hash             ; <%Hash> [#uses=1]
        ret %Hash %cast246
 end