[PATCH] D123801: [DAG][PowerPC] Combine shuffle(bitcast(X), Mask) to bitcast(shuffle(X, Mask'))

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 08:59:46 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:22001
+  if (!DAG.getDataLayout().isLittleEndian())
+    return SDValue();
+  SDValue Op0 = SVN->getOperand(0);
----------------
Can this can be dropped now?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123801/new/

https://reviews.llvm.org/D123801



More information about the llvm-commits mailing list