[PATCH] Fix testing for undefined behavior in vector shift tests.

Matt Arsenault Matthew.Arsenault at amd.com
Thu Mar 6 13:25:10 PST 2014


Most of these were all shifting the same amount as the bitwidth, and some were doing 0 shifts. These break when I fix DAGCombiner to understand shifts by constant vectors.

http://llvm-reviews.chandlerc.com/D2991

Files:
  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2991.1.patch
Type: text/x-patch
Size: 22002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140306/e404e976/attachment.bin>


More information about the llvm-commits mailing list