From: Chris Lattner Date: Mon, 6 May 2002 16:11:31 +0000 (+0000) Subject: Fix testcase, the 'shift out all bits' doesn't apply to signed types. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=79a31b1782c0f9a3b84768d299232aa538a95bcd;p=oota-llvm.git Fix testcase, the 'shift out all bits' doesn't apply to signed types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2482 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll index c6b65174f6b..20bf9116e2d 100644 --- a/test/Transforms/InstCombine/shift.ll +++ b/test/Transforms/InstCombine/shift.ll @@ -28,8 +28,8 @@ int "test4"(ubyte %A) { ret int %B } -int "test5"(int %A) { - %B = shr int %A, ubyte 32 ;; shift all bits out - ret int %B +uint "test5"(uint %A) { + %B = shr uint %A, ubyte 32 ;; shift all bits out + ret uint %B }