From 5fa87078212f1ce1cb7c7e447f92e271a484496a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 May 2005 15:51:31 +0000 Subject: [PATCH] fix buggy test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21937 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LevelRaise/2002-04-09-MissedRaise.ll | 8 ++++---- test/Transforms/SCCP/sccptest.ll | 2 +- 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 7b7775d3421..6b38a00e67b 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 * ; [#uses=1] + %reg108 = cast int * %x to ulong ; [#uses=1] %cond219 = setgt ulong 12, 13 ; [#uses=1] br bool %cond219, label %bb3, label %bb2 @@ -33,9 +33,9 @@ bb2: ;[#uses=3] %cast222 = cast int %reg111 to uint ; [#uses=1] %reg113 = shl uint %cast222, ubyte 2 ; [#uses=1] %cast114 = cast uint %reg113 to ulong ; [#uses=1] - %cast115 = cast ulong %cast114 to sbyte * ; [#uses=1] - %reg116 = add sbyte * %reg108, %cast115 ; [#uses=1] - %cast223 = cast sbyte * %reg116 to int * ; [#uses=1] + %cast115 = cast ulong %cast114 to ulong ; [#uses=1] + %reg116 = add ulong %reg108, %cast115 ; [#uses=1] + %cast223 = cast ulong %reg116 to int * ; [#uses=1] store int %j, int * %cast223 %reg118 = add uint %cast224, 1 ; [#uses=1] %cond220 = setle uint %reg118, 13 ; [#uses=1] diff --git a/test/Transforms/SCCP/sccptest.ll b/test/Transforms/SCCP/sccptest.ll index 94a33645f53..f2f87f97600 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: -- 2.34.1