diff options
author | zhongyunde 00443407 <zhongyunde@huawei.com> | 2023-11-28 07:05:51 -0500 |
---|---|---|
committer | zhongyunde <zhongyunde@huawei.com> | 2023-12-05 09:01:41 +0800 |
commit | d6f4d5209ffcdc6d8e33a14fe8df70283b768f45 (patch) | |
tree | bbca44a031c7e7151cf280ca3ff42060b0068bf3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 6a8a5629a6042da602fbc586c8b41137cdd2f053 (diff) | |
download | llvm-d6f4d5209ffcdc6d8e33a14fe8df70283b768f45.zip llvm-d6f4d5209ffcdc6d8e33a14fe8df70283b768f45.tar.gz llvm-d6f4d5209ffcdc6d8e33a14fe8df70283b768f45.tar.bz2 |
[CGP][AArch64] Rebase the common base offset for better ISel
When all the large const offsets masked with the same value from bit-12 to bit-23.
Fold
add x8, x0, #2031, lsl #12
add x8, x8, #960
ldr x9, [x8, x8]
ldr x8, [x8, #2056]
into
add x8, x0, #2031, lsl #12
ldr x9, [x8, #960]
ldr x8, [x8, #3016]
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions