[llvm] [ExpandVectorPredication] Be more precise reporting changes (PR #102313)

Roger Ferrer Ibáñez via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 02:18:40 PDT 2024


================
@@ -357,14 +357,12 @@ bool PreISelIntrinsicLowering::lowerIntrinsics(Module &M) const {
 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)                    \
   case Intrinsic::VPID:
 #include "llvm/IR/VPIntrinsics.def"
-      forEachCall(F, [&](CallInst *CI) {
+      Changed |= forEachCall(F, [&](CallInst *CI) {
         Function *Parent = CI->getParent()->getParent();
         const TargetTransformInfo &TTI = LookupTTI(*Parent);
         auto *VPI = cast<VPIntrinsic>(CI);
         return expandVectorPredicationIntrinsic(*VPI, TTI);
----------------
rofirrim wrote:

Oh I see. Thanks. Now I fully understand an earlier comment of yours: we've got two concerns to deal with here.

I will post an update.

https://github.com/llvm/llvm-project/pull/102313


More information about the llvm-commits mailing list