File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -608,8 +608,6 @@ class AMDGPULowerModuleLDS {
608608 ? LDSToKernelsThatNeedToAccessItIndirectly[HybridModuleRoot]
609609 : EmptySet;
610610
611- const size_t HybridModuleRootKernelsSize = HybridModuleRootKernels.size ();
612-
613611 for (auto &K : LDSToKernelsThatNeedToAccessItIndirectly) {
614612 // Each iteration of this loop assigns exactly one global variable to
615613 // exactly one of the implementation strategies.
@@ -649,8 +647,7 @@ class AMDGPULowerModuleLDS {
649647 ModuleScopeVariables.insert (GV);
650648 } else if (K.second .size () == 1 ) {
651649 KernelAccessVariables.insert (GV);
652- } else if (K.second .size () == HybridModuleRootKernelsSize &&
653- set_is_subset (K.second , HybridModuleRootKernels)) {
650+ } else if (K.second == HybridModuleRootKernels) {
654651 ModuleScopeVariables.insert (GV);
655652 } else {
656653 TableLookupVariables.insert (GV);
You can’t perform that action at this time.
0 commit comments