[PATCH] D126729: [RISCV] Support LUI+ADDIW in RISCVMergeBaseOffsetOpt::matchLargeOffset.

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 04:46:00 PDT 2022


luismarques added a comment.

Could this interact badly with the medlow upper address space bound of `0x000000007FFFF7FF`?



================
Comment at: llvm/test/CodeGen/RISCV/hoist-global-addr-base.ll:53-55
 ; This test checks that the offset is reconstructed correctly when
 ; "addi" of the big offset has a negative immediate.
 ; without peephole this generates:
----------------
Minor update here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126729/new/

https://reviews.llvm.org/D126729



More information about the llvm-commits mailing list