================
@@ -22123,6 +22123,19 @@ static SDValue performReinterpretCastCombine(SDNode
*N) {
static SDValue performSVEAndCombine(SDNode *N,
TargetLowering::DAGCombinerInfo &DCI) {
SelectionDAG &DAG = DCI.DAG;
+
+ // Fold AND of a predicated NOT into BIC when NOT's inactive lanes do not
+ // matter, leaving standalone NOTs available for predicated selection.
+ for (unsigned I = 0; I != 2; ++I) {
+ SDValue Not = N->getOperand(I);
----------------
CarolineConcatto wrote:
This could crash if the instruction has for some reason dont have
N->getOperand(I)?
https://github.com/llvm/llvm-project/pull/232526
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits