commit | eb9d4e05e655a9bb41cae86f3f1b25a302341d87 | [log] [tgz] |
---|---|---|
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Sat Mar 17 08:04:00 2018 +0000 |
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Sat Mar 17 08:04:00 2018 +0000 |
tree | 0a950f476d1010a8681b91fdbd10a3f2850cfeb6 | |
parent | 2755819705e9c2116f4ef72e1273303c6a56c520 [diff] |
[SelectionDAG] Handle big endian target BITCAST in computeKnownBits() The BITCAST handling in computeKnownBits() previously only worked for little endian. This patch reverses the iteration over elements for a big endian target which allows this to work in this case also. SystemZ test case. Review: Eli Friedman https://reviews.llvm.org/D44249 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327764 91177308-0d34-0410-b5e6-96231b3b80d8