[PATCH] D127376: [RISCV] Teach RISCVMergeBaseOffset about cases where we use SHXADD to add some immediates.
Shao-Ce SUN via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 22:37:49 PDT 2022
sunshaoce added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/hoist-global-addr-base.ll:245
+
+; With Zba the constant 12848 is created with LI+SH2ADD.
+define i8* @offset_sh2add() {
----------------
`12848` -> `6424`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127376/new/
https://reviews.llvm.org/D127376
More information about the llvm-commits
mailing list