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

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 07:28:14 PDT 2022


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:21204
+    return false;
+  uint64_t MaskVal = Mask->getValue().getZExtValue();
+  return (MaskVal >> 32) == 0 && ARM_AM::getSOImmVal(unsigned(MaskVal)) != -1;
----------------
Can this be called with a typesize > 64bits?


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

https://reviews.llvm.org/D134360



More information about the llvm-commits mailing list