Static analyser cppcheck says: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:113:38: style: Same expression on both sides of '||'. [duplicateExpression] Source code is if (!AMDGPU::isGraphics(CC) || ((CC == CallingConv::AMDGPU_CS || CC == CallingConv::AMDGPU_CS) && ST.hasArchitectedSGPRs())) { Suggest code rework.