[PATCH] D134934: [AArch64] Lower multiplication by a negative constant to shl+sub+shl

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 13:22:21 PDT 2022


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14803
+  // TODO: consider lowering more cases, e.g. C = 45
   // which equals to (1+2)*16-(1+2).
 
----------------
Fix line wrapping?


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

https://reviews.llvm.org/D134934



More information about the llvm-commits mailing list