diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-06 16:11:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-06 16:11:31 +0000 |
commit | 79a31b1782c0f9a3b84768d299232aa538a95bcd (patch) | |
tree | 095d387a604eb49d113fd7ba01ef4bc42c25f50f | |
parent | 11fe8dfff7e08613913c53920d95bf90780e2d35 (diff) | |
download | external_llvm-79a31b1782c0f9a3b84768d299232aa538a95bcd.zip external_llvm-79a31b1782c0f9a3b84768d299232aa538a95bcd.tar.gz external_llvm-79a31b1782c0f9a3b84768d299232aa538a95bcd.tar.bz2 |
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
-rw-r--r-- | test/Transforms/InstCombine/shift.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll index c6b6517..20bf911 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 } |