[PATCH] D110476: [AArch64] Optimize add/sub with immediate

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 00:05:22 PDT 2021


dmgreen added a reviewer: jaykang10.
dmgreen added a comment.

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.


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

https://reviews.llvm.org/D110476



More information about the llvm-commits mailing list