diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-11-20 04:42:31 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-11-20 04:42:31 +0000 |
commit | 9b393909e236b1ca314ce047ce28d39929a25688 (patch) | |
tree | 842125b2eefc533285ac7bf5e9ebf0b5bd42d21f /clang/lib/CodeGen/CGCXXABI.cpp | |
parent | 4954c664307d56c5aa7ed400b3bac730bd71ddb9 (diff) | |
download | bcm5719-llvm-9b393909e236b1ca314ce047ce28d39929a25688.tar.gz bcm5719-llvm-9b393909e236b1ca314ce047ce28d39929a25688.zip |
[PowerPC] Don't combine to bswap store on 1-byte truncating store
Turns out that there was no check for a store that truncates down
to a single byte when combining a (store (bswap...)) into a byte-swapping
store. This patch just adds that check.
Fixes https://bugs.llvm.org/show_bug.cgi?id=39478.
llvm-svn: 347288
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.cpp')
0 files changed, 0 insertions, 0 deletions