From: Chris Lattner Date: Fri, 2 Aug 2002 19:54:05 +0000 (+0000) Subject: Fix bug in testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=77c1462728893b6404da3bb5e87c78dc0e1cfb49;p=oota-llvm.git Fix bug in testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2002-08-02-CastTest.ll b/test/Transforms/InstCombine/2002-08-02-CastTest.ll index 7ce791cf0e5..dcbdfa24d9a 100644 --- a/test/Transforms/InstCombine/2002-08-02-CastTest.ll +++ b/test/Transforms/InstCombine/2002-08-02-CastTest.ll @@ -2,9 +2,10 @@ ; SOME instruction named %c here, even if it's a bitwise and. ; ; RUN: as < %s | opt -instcombine | grep '%c' +; ulong %test3(ulong %A) { - %c1 = cast ulong %A to ubyte ; [#uses=0] - %c2 = cast ulong %A to ulong ; [#uses=0] + %c1 = cast ulong %A to ubyte + %c2 = cast ubyte %c1 to ulong ret ulong %A }