We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-backend-amdgpu
Author: None (dcb314)
Sorry, something went wrong.
I think this is also missing the AMDGPU_CS_Chain and AMDGPU_CS_ChainPreserved cases
5b18775
jayfoad
rovka
cdevadas
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: