[llvm] [DAG] Fold freeze(shuffle(x,y,m)) -> shuffle(freeze(x),freeze(y),m) (PR #90952)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 07:43:17 PDT 2024


================
@@ -15482,6 +15499,24 @@ SDValue DAGCombiner::visitFREEZE(SDNode *N) {
     }
   }
 
+  // Special case handling for ShuffleVectorSDNode nodes.
----------------
bjope wrote:

Why isn't it enough to add VECTOR_SHUFFLE to AllowMultipleMaybePoisonOperands?

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


More information about the llvm-commits mailing list