[llvm] [VectorCombine] New folding pattern for extract/binop/shuffle chains (PR #145232)

Rajveer Singh Bharadwaj via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 02:11:24 PDT 2025


================
@@ -4223,6 +4485,9 @@ bool VectorCombine::run() {
         if (foldCastFromReductions(I))
           return true;
         break;
+      case Instruction::ExtractElement:
+        if (foldShuffleChainsToReduce(I))
+          return true;
----------------
Rajveer100 wrote:

How did it pass before?

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


More information about the llvm-commits mailing list