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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 08:04:06 PDT 2024


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

I'll take another look - this patch started out a little different and I think we can reduce the diff even further.

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


More information about the llvm-commits mailing list