diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 07:26:09 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 07:26:09 +0000 |
commit | 23331c30aefae840f55b52e2ed343117e5599682 (patch) | |
tree | 73a7efd31690e737e3bdbda68ac8d567a07b49ec /unittests/Transforms/Utils | |
parent | 5e4b95b3fe908f89aa512b6e9921fe49aadd759b (diff) | |
download | llvm-23331c30aefae840f55b52e2ed343117e5599682.tar.gz llvm-23331c30aefae840f55b52e2ed343117e5599682.tar.bz2 llvm-23331c30aefae840f55b52e2ed343117e5599682.tar.xz |
Fix big-endian handling of integer-to-vector bitcasts in InstCombine
These functions used to assume that the lsb of an integer corresponds
to vector element 0, whereas for big-endian it's the other way around:
the msb is in the first element and the lsb is in the last element.
Fixes MultiSource/Benchmarks/mediabench/gsm/toast for z.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions