[PATCH] - Improve widening of 3 element binary vector operations that don't trap

Redmond, Paul paul.redmond at intel.com
Mon Aug 19 08:14:44 PDT 2013


This patch improves the widening of non-div/rem binary vector operations

- split WidenVecRes_Binary into WidenVecRes_Binary and
WidenVecRes_BinaryCanTrap
  - WidenVecRes_BinaryCanTrap preserves the original behaviour for
operations that can trap
  - WidenVecRes_Binary simply widens the operation and improves codegen
for 3 element vectors
    by allowing widening and promotion on x86 (matches the behaviour of
unary and ternary
    operation widening)

Thanks
paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: widenvecres_binary.diff
Type: application/octet-stream
Size: 3814 bytes
Desc: widenvecres_binary.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130819/eb28b556/attachment.obj>


More information about the llvm-commits mailing list