[PATCH] D134360: [ARM] Enable and/cmp0 folding

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 09:39:47 PDT 2022


chill marked an inline comment as done.
chill added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:21204
+    return false;
+  return ARM_AM::getSOImmVal(unsigned(Mask->getValue().getZExtValue())) != -1;
+}
----------------
efriedma wrote:
> getSOImmVal() only applies in ARM mode, right?  The Thumb equivalent is getT2SOImmVal().
Thanks! Fixed.


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

https://reviews.llvm.org/D134360



More information about the llvm-commits mailing list