Skip to content

Commit 111effe

Browse files
committed
AMDGPUCodeGenPrepare.cpp - fix MSVC operator precedence warning. NFC.
1 parent 50a4ab2 commit 111effe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,8 +2235,8 @@ Value *AMDGPUCodeGenPrepareImpl::matchFractPat(IntrinsicInst &I) {
22352235

22362236
// The value is only used in contexts where we know the input isn't a nan, so
22372237
// any of the fmin variants are fine.
2238-
if (IID != Intrinsic::minnum &&
2239-
IID != Intrinsic::minimumnum & IID != Intrinsic::minimum)
2238+
if (IID != Intrinsic::minnum && IID != Intrinsic::minimum &&
2239+
IID != Intrinsic::minimumnum)
22402240
return nullptr;
22412241

22422242
Type *Ty = I.getType();

0 commit comments

Comments
 (0)