[llvm] [VectorCombine] Do not try to operate on OperandBundles. (PR #111635)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 02:24:07 PDT 2024


================
@@ -2039,6 +2039,8 @@ bool VectorCombine::foldShuffleToIdentity(Instruction &I) {
         continue;
       } else if (auto *II = dyn_cast<IntrinsicInst>(FrontU);
                  II && isTriviallyVectorizable(II->getIntrinsicID())) {
+        if (II->hasOperandBundles())
----------------
RKSimon wrote:

can we not put this in the if condition above?

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


More information about the llvm-commits mailing list