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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 02:13:36 PDT 2025


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

Only some post-commit buildbots build llvm with `-Werror`.


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


More information about the llvm-commits mailing list