Skip to content

Commit e2fbe0c

Browse files
akaduttaarsenm
andauthored
Apply suggestion from @arsenm
Co-authored-by: Matt Arsenault <[email protected]>
1 parent 25b9c71 commit e2fbe0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ void SIPreEmitPeephole::collectUnpackingCandidates(
616616
MachineInstr &Instr = *I;
617617
uint16_t UnpackedOpCode = mapToUnpackedOpcode(Instr);
618618
bool IsUnpackable =
619-
!(UnpackedOpCode == std::numeric_limits<uint16_t>::max());
619+
UnpackedOpCode != std::numeric_limits<uint16_t>::max();
620620
if (Instr.isMetaInstruction())
621621
continue;
622622
if ((Instr.isTerminator()) ||

0 commit comments

Comments
 (0)