aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-13 15:51:31 +0000
committerChris Lattner <sabre@nondot.org>2005-05-13 15:51:31 +0000
commit5fa87078212f1ce1cb7c7e447f92e271a484496a (patch)
treecae42019c44b27bd00c391f512a63986e44f50f0
parenta02e0bd1a3f3b20a43ceb245dcd5c032611b805a (diff)
fix buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21937 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll8
-rw-r--r--test/Transforms/SCCP/sccptest.ll2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll b/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll
index 7b7775d342..6b38a00e67 100644
--- a/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll
+++ b/test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll
@@ -18,7 +18,7 @@ bb0: ;[#uses=0]
br label %bb1
bb1: ;[#uses=2]
- %reg108 = cast int * %x to sbyte * ; <sbyte *> [#uses=1]
+ %reg108 = cast int * %x to ulong ; <sbyte *> [#uses=1]
%cond219 = setgt ulong 12, 13 ; <bool> [#uses=1]
br bool %cond219, label %bb3, label %bb2
@@ -33,9 +33,9 @@ bb2: ;[#uses=3]
%cast222 = cast int %reg111 to uint ; <uint> [#uses=1]
%reg113 = shl uint %cast222, ubyte 2 ; <uint> [#uses=1]
%cast114 = cast uint %reg113 to ulong ; <ulong> [#uses=1]
- %cast115 = cast ulong %cast114 to sbyte * ; <sbyte *> [#uses=1]
- %reg116 = add sbyte * %reg108, %cast115 ; <sbyte *> [#uses=1]
- %cast223 = cast sbyte * %reg116 to int * ; <int *> [#uses=1]
+ %cast115 = cast ulong %cast114 to ulong ; <sbyte *> [#uses=1]
+ %reg116 = add ulong %reg108, %cast115 ; <sbyte *> [#uses=1]
+ %cast223 = cast ulong %reg116 to int * ; <int *> [#uses=1]
store int %j, int * %cast223
%reg118 = add uint %cast224, 1 ; <uint> [#uses=1]
%cond220 = setle uint %reg118, 13 ; <bool> [#uses=1]
diff --git a/test/Transforms/SCCP/sccptest.ll b/test/Transforms/SCCP/sccptest.ll
index 94a33645f5..f2f87f9760 100644
--- a/test/Transforms/SCCP/sccptest.ll
+++ b/test/Transforms/SCCP/sccptest.ll
@@ -3,7 +3,7 @@
;
; RUN: llvm-as < %s | opt -sccp -constprop -dce -cfgsimplify | llvm-dis | not grep BB3
-int %test function(int %i0, int %j0) {
+int %testfunction(int %i0, int %j0) {
BB1:
br label %BB2
BB2: