aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-06-24 14:44:17 -0500
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-06-24 15:11:47 -0500
commit0464586ac515e8cfebe4c7615387fd625c8869f5 (patch)
treea8c5e5104d84c0970d37c331b0c1ebbe2eddf0c2 /llvm/lib/Support/StringRef.cpp
parent8e0ff44bf896733f04c5cc9e68aee2b777860ddd (diff)
downloadllvm-0464586ac515e8cfebe4c7615387fd625c8869f5.zip
llvm-0464586ac515e8cfebe4c7615387fd625c8869f5.tar.gz
llvm-0464586ac515e8cfebe4c7615387fd625c8869f5.tar.bz2
[PowerPC] Combine 64-bit bswap(load) without LDBRX
When targeting CPUs that don't have LDBRX, we end up producing code that is very inefficient and large for this common idiom. This patch just optimizes it two 32-bit LWBRX instructions along with a merge. This fixes https://bugs.llvm.org/show_bug.cgi?id=49610 Differential revision: https://reviews.llvm.org/D104836
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions