[PATCH] D115047: [SVE][InstCombine] Support more cases where ld1/st1 can be lowered to load instructions.

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 02:19:17 PST 2021


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

lgtm, theres an error in a comment



================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:735
+    // If the predicate has the same or less lanes than the uncasted
+    // predicate then we know the casting has no affect.
+    if (cast<ScalableVectorType>(Pred->getType())->getMinNumElements() <=
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115047



More information about the llvm-commits mailing list