Skip to content

Commit 38a0f78

Browse files
committed
Fix formatting.
1 parent ad63e7f commit 38a0f78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,8 @@ bool SPIRVInstructionSelector::spvSelect(Register ResVReg,
11941194
// Translate G_ATOMICRMW_FSUB to OpAtomicFAddEXT with negative value operand
11951195
return selectAtomicRMW(ResVReg, ResType, I, SPIRV::OpAtomicFAddEXT,
11961196
ResType->getOpcode() == SPIRV::OpTypeVector
1197-
? SPIRV::OpFNegateV : SPIRV::OpFNegate);
1197+
? SPIRV::OpFNegateV
1198+
: SPIRV::OpFNegate);
11981199
case TargetOpcode::G_ATOMICRMW_FMIN:
11991200
return selectAtomicRMW(ResVReg, ResType, I, SPIRV::OpAtomicFMinEXT);
12001201
case TargetOpcode::G_ATOMICRMW_FMAX:

0 commit comments

Comments
 (0)