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 {
608
608
? LDSToKernelsThatNeedToAccessItIndirectly[HybridModuleRoot]
609
609
: EmptySet;
610
610
611
- const size_t HybridModuleRootKernelsSize = HybridModuleRootKernels.size ();
612
-
613
611
for (auto &K : LDSToKernelsThatNeedToAccessItIndirectly) {
614
612
// Each iteration of this loop assigns exactly one global variable to
615
613
// exactly one of the implementation strategies.
@@ -649,8 +647,7 @@ class AMDGPULowerModuleLDS {
649
647
ModuleScopeVariables.insert (GV);
650
648
} else if (K.second .size () == 1 ) {
651
649
KernelAccessVariables.insert (GV);
652
- } else if (K.second .size () == HybridModuleRootKernelsSize &&
653
- set_is_subset (K.second , HybridModuleRootKernels)) {
650
+ } else if (K.second == HybridModuleRootKernels) {
654
651
ModuleScopeVariables.insert (GV);
655
652
} else {
656
653
TableLookupVariables.insert (GV);
You can’t perform that action at this time.
0 commit comments