aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-02-08 11:37:17 +0000
committerDavid Green <david.green@arm.com>2021-02-11 08:59:52 +0000
commit1db7b9ceaae43ab3c44ac96e238ec078538204ea (patch)
tree05730392258a267bbd8eb02f1f1207590575e180 /llvm/lib/Analysis/CodeMetrics.cpp
parente159a3ced4c54b539c165b1cc26424fa0b34d53e (diff)
downloadllvm-1db7b9ceaae43ab3c44ac96e238ec078538204ea.zip
llvm-1db7b9ceaae43ab3c44ac96e238ec078538204ea.tar.gz
llvm-1db7b9ceaae43ab3c44ac96e238ec078538204ea.tar.bz2
[ARM] Make a BE predicate bitcast consistent with the rest of llvm
We were storing predicate registers, such as a <8 x i1>, in the opposite order to how the rest of llvm expects. This actually turns out to be correct for the one place that usually uses it - the ScalarizeMaskedMemIntrin pass, but only because the pass was incorrect itself. This fixes the order so that bits are stored in the opposite order and bitcasts work as expected. This allows the Scalarization pass to be fixed, as in https://reviews.llvm.org/D94765. Differential Revision: https://reviews.llvm.org/D94867
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions