We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b99ff9 commit 3b36e24Copy full SHA for 3b36e24
llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
@@ -1366,7 +1366,7 @@ struct AAAMDGPUUniformArgument : public AAAMDGPUUniform {
1366
IRPosition::argument(*Arg), this, DepClassTy::REQUIRED);
1367
return AA && AA->isValidState();
1368
}
1369
- TargetTransformInfo *TTI =
+ const TargetTransformInfo *TTI =
1370
A.getInfoCache().getAnalysisResultForFunction<TargetIRAnalysis>(
1371
*CB->getFunction());
1372
return TTI->isAlwaysUniform(V);
0 commit comments