diff options
author | Mon P Wang <wangmp@apple.com> | 2009-09-03 19:56:25 +0000 |
---|---|---|
committer | Mon P Wang <wangmp@apple.com> | 2009-09-03 19:56:25 +0000 |
commit | efa422023fa750bdef6429e66cc2b628e4d4801b (patch) | |
tree | 34aeea83bca04414a070fd221921ff759921a045 /lib/Linker/LinkModules.cpp | |
parent | 2f67df794a053f939bc35cd057c7fcd67a58cbb5 (diff) |
Fixed a few problems with vector shifts
- when transforming a vector shift of a non-immediate scalar shift amount, zero
extend the i32 shift amount to i64 since the vector shift reads 64 bits
- when transforming i16 vectors to use a vector shift, zero extend i16 shift amount
- improve the code quality in some cases when transforming vectors to use a vector shift
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkModules.cpp')
0 files changed, 0 insertions, 0 deletions