Skip to content

Commit 004dc9f

Browse files
committed
[NFC] Correct typo in BitwiseToSrcModifierOp()
1 parent dea39d1 commit 004dc9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4887,8 +4887,8 @@ static SDValue BitwiseToSrcModifierOp(SDValue N,
48874887
break;
48884888
case ISD::OR:
48894889
if (Mask == 0x80000000u || Mask == 0x8000000000000000u) {
4890-
SDValue Abs = DAG.getNode(ISD::FNEG, SDLoc(N), FVT, BC);
4891-
return DAG.getNode(ISD::FABS, SDLoc(N), FVT, Abs);
4890+
SDValue Neg = DAG.getNode(ISD::FNEG, SDLoc(N), FVT, BC);
4891+
return DAG.getNode(ISD::FABS, SDLoc(N), FVT, Neg);
48924892
}
48934893
break;
48944894
case ISD::AND:

0 commit comments

Comments
 (0)