[OpenMP][libomp] Fix accidental removal of else for core attributes

This commit is contained in:
Jonathan Peyton 2022-05-19 13:57:02 -05:00
parent 80aab0312a
commit f613e6d19d

View File

@ -5022,7 +5022,7 @@ static void __kmp_stg_parse_hw_subset(char const *name, char const *value,
attr.set_core_type(KMP_HW_CORE_TYPE_CORE);
} else if (__kmp_str_match("intel_atom", -1, attr_ptr + 1)) {
attr.set_core_type(KMP_HW_CORE_TYPE_ATOM);
}
} else
#endif
if (__kmp_str_match("eff", 3, attr_ptr + 1)) {
const char *number = attr_ptr + 1;