[PATCH] D110476: [AArch64] Optimize add/sub with immediate
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 27 01:33:40 PDT 2021
benshi001 added a comment.
In D110476#3023610 <https://reviews.llvm.org/D110476#3023610>, @dmgreen wrote:
> Similar to D109963 <https://reviews.llvm.org/D109963>, this may make things worse if the code is in a loop and the MOVi is loop invariant. That patch adds a new AArch64 peephole optimization pass, and this sounds like this change would fit in there nicely too.
Thanks. I will fit my code to that pass after the D109963 <https://reviews.llvm.org/D109963> is merged.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110476/new/
https://reviews.llvm.org/D110476
More information about the llvm-commits
mailing list