Skip to content

Commit bea457b

Browse files
arsenmLeon Clark
authored andcommitted
Update AMDGPUISelLowering.cpp
demorgan condition
1 parent 83a5243 commit bea457b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,7 @@ SDValue AMDGPUTargetLowering::lowerCTLZResults(SDValue Op,
30773077
auto Arg = Op.getOperand(0u);
30783078
auto ResultVT = Op.getValueType();
30793079

3080-
if (!(ResultVT == MVT::i8 || ResultVT == MVT::i16))
3080+
if (ResultVT != MVT::i8 && ResultVT != MVT::i16))
30813081
return {};
30823082

30833083
assert(isCtlzOpc(Op.getOpcode()));

0 commit comments

Comments
 (0)