Fix undefined behavior in vector shift tests.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 11 Mar 2014 00:01:41 +0000 (00:01 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 11 Mar 2014 00:01:41 +0000 (00:01 +0000)
commit53131629dce542bc38af962a06ddf2ab392429b3
tree1aa88d93a85bf575a90d7ca86bd57d9f6dbcf148
parentbea18e3849d08d5941ca26ae627f3fcc5bdb1e31
Fix undefined behavior in vector shift tests.

These were all shifting the same amount as the bitwidth.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203519 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/neon-shl-ashr-lshr.ll
test/CodeGen/ARM/vshift.ll
test/CodeGen/ARM/vsra.ll
test/CodeGen/X86/avx2-vector-shifts.ll
test/CodeGen/X86/sse2-vector-shifts.ll