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 9affc3a commit 1cbaf83Copy full SHA for 1cbaf83
llvm/lib/Target/AMDGPU/AMDGPUBarrierLatency.cpp
@@ -33,7 +33,7 @@ class BarrierLatency : public ScheduleDAGMutation {
33
};
34
35
void BarrierLatency::apply(ScheduleDAGInstrs *DAG) {
36
- const unsigned SyntheticLatency = 2000;
+ constexpr unsigned SyntheticLatency = 2000;
37
for (SUnit &SU : DAG->SUnits) {
38
const MachineInstr *MI = SU.getInstr();
39
if (MI->getOpcode() != AMDGPU::ATOMIC_FENCE)
0 commit comments