diff options
| author | Paul Redmond <paul.redmond@intel.com> | 2013-08-19 20:01:35 +0000 |
|---|---|---|
| committer | Paul Redmond <paul.redmond@intel.com> | 2013-08-19 20:01:35 +0000 |
| commit | d345395ec97a303ffd420c3e761af7b9e3e4c338 (patch) | |
| tree | 51c7846b1fcf5c930ba0d5f268bfce5a670e8184 /lib/Bitcode/Writer/BitWriter.cpp | |
| parent | 32bd10b1a33df2cc4d067a16901d56665f4ba085 (diff) | |
| download | llvm-d345395ec97a303ffd420c3e761af7b9e3e4c338.tar.gz llvm-d345395ec97a303ffd420c3e761af7b9e3e4c338.tar.bz2 llvm-d345395ec97a303ffd420c3e761af7b9e3e4c338.tar.xz | |
Improve the widening of integral 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)
- use WidenVecRes_Binary for operations on integers.
Reviewed by: nrotem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions
