Fix testcase, the 'shift out all bits' doesn't apply to signed types.
authorChris Lattner <sabre@nondot.org>
Mon, 6 May 2002 16:11:31 +0000 (16:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 May 2002 16:11:31 +0000 (16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2482 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/shift.ll

index c6b65174f6b628c222f7fce76685fe43c78a2e39..20bf9116e2d5af1a738bd760ac1af229961efc89 100644 (file)
@@ -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
 }