[PATCH] Fix shift by constants for vector.

Matt Arsenault Matthew.Arsenault at amd.com
Thu Mar 6 12:37:03 PST 2014


ashr <N x iM>, <N x iM> M -> undef

This used to only happen for scalars.

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

Files:
  lib/Transforms/InstCombine/InstCombine.h
  lib/Transforms/InstCombine/InstCombineShifts.cpp
  test/Transforms/InstCombine/shift.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2990.1.patch
Type: text/x-patch
Size: 9868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140306/d5b5d2b9/attachment.bin>


More information about the llvm-commits mailing list