We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84b0c3 commit 7fce4f7Copy full SHA for 7fce4f7
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -26592,13 +26592,13 @@ performSignExtendInRegCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
26592
SDValue TVal = Src.getOperand(0);
26593
SDValue FVal = Src.getOperand(1);
26594
26595
- // SIGN_EXTEND_INREG (CSEL 0, 1, cc), i1 --> CSEL 0, -1, cc
+ // SIGN_EXTEND_INREG (CSEL 0, 1, cc, NZCV), i1 --> CSEL 0, -1, cc, NZCV
26596
if (isNullConstant(TVal) && isOneConstant(FVal))
26597
return DAG.getNode(AArch64ISD::CSEL, DL, VT, TVal,
26598
DAG.getAllOnesConstant(DL, VT), Src.getOperand(2),
26599
Src.getOperand(3));
26600
26601
- // SIGN_EXTEND_INREG (CSEL 1, 0, cc), i1 --> CSEL -1, 0, cc
+ // SIGN_EXTEND_INREG (CSEL 1, 0, cc, NZCV), i1 --> CSEL -1, 0, cc, NZCV
26602
if (isOneConstant(TVal) && isNullConstant(FVal))
26603
return DAG.getNode(AArch64ISD::CSEL, DL, VT,
26604
DAG.getAllOnesConstant(DL, VT), FVal,
0 commit comments