diff options
author | zhongyunde 00443407 <zhongyunde@huawei.com> | 2023-11-10 07:29:03 -0500 |
---|---|---|
committer | Zhongyunde <zhongyunde@huawei.com> | 2024-08-15 18:22:52 +0800 |
commit | 33190490c667aaf8b08d5af8b8ce84524f856e80 (patch) | |
tree | 96d6667f2fbbfed07245782edb75859095873616 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 36231a5b5525b950daf1b7430859061b31a8e01e (diff) | |
download | llvm-33190490c667aaf8b08d5af8b8ce84524f856e80.zip llvm-33190490c667aaf8b08d5af8b8ce84524f856e80.tar.gz llvm-33190490c667aaf8b08d5af8b8ce84524f856e80.tar.bz2 |
[AArch64] merge index address with large offset into base address
A case for this transformation, https://gcc.godbolt.org/z/nhYcWq1WE
Fold
mov w8, #56952
movk w8, #15, lsl #16
ldrb w0, [x0, x8]
into
add x0, x0, 1036288
ldrb w0, [x0, 3704]
Only LDRBBroX is supported for the first time.
Fix https://github.com/llvm/llvm-project/issues/71917
Note: This PR is try relanding the commit 32878c2065 with fix crash for PR79756
this crash is exposes when there is MOVKWi instruction in the head of a block,
but without MOVZWi
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions