[PATCH] D124693: [RISCV] Fold addiw from (add X, (addiw (lui C1, C2))) into load/store address
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 05:35:07 PDT 2022
asb accepted this revision.
asb added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: shiva0217.
Nice improvement - thanks. Might be worth adding an explicit test case for where an lui+addiw is generated but the addiw can't be converted to an addi.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124693/new/
https://reviews.llvm.org/D124693
More information about the llvm-commits
mailing list