[PATCH] D150862: [RISCV][CodeGenPrepare] Select the optimal base offset for GEPs with large offset
Yingwei Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 27 23:24:03 PDT 2023
dtcxzyw updated this revision to Diff 526314.
dtcxzyw added a comment.
- Rebase
- Fix assertion failures due to dangling value handle references
- Add a test from @StephenFan, which tries to find an offset divisible by 4096 to use lui + add.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150862/new/
https://reviews.llvm.org/D150862
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store-asm.ll
llvm/test/CodeGen/RISCV/split-offsets.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150862.526314.patch
Type: text/x-patch
Size: 30651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230528/b8245681/attachment.bin>
More information about the llvm-commits
mailing list