[PATCH] D108193: [RISCV] Optimize add in the zba extension with SH*ADD
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 20 05:46:11 PDT 2021
luismarques accepted this revision.
luismarques added a comment.
This revision is now accepted and ready to land.
In D108193#2954359 <https://reviews.llvm.org/D108193#2954359>, @benshi001 wrote:
> We have already optimized (add x, 4094) to (ADDI (ADDI x, 2047), 2047), so SH1ADD is not no long needed.
Oh, right. You even mentioned in the comments the "PatLeaf AddiPair".
LGTM.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108193/new/
https://reviews.llvm.org/D108193
More information about the llvm-commits
mailing list