Skip to content

Commit a2f51f5

Browse files
author
Pavel Samolysov
committed
[sycl-post-link] Add the DeviceGlobalsMet property to GlobalBinImageProps
1 parent ac7c9ac commit a2f51f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/sycl-post-link/sycl-post-link.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ struct GlobalBinImageProps {
203203
bool EmitProgramMetadata;
204204
bool EmitExportedSymbols;
205205
bool IsEsimdKernel;
206-
bool EmitDeviceGlobalPropSet;
206+
bool DeviceGlobalsMet;
207207
};
208208

209209
void error(const Twine &Msg) {
@@ -631,7 +631,7 @@ void saveModuleProperties(Module &M, const EntryPointGroup &ModuleEntryPoints,
631631
PropSet[PropSetRegTy::SYCL_ASSERT_USED].insert({FName, true});
632632
}
633633

634-
if (ImgPSInfo.EmitDeviceGlobalPropSet) {
634+
if (ImgPSInfo.DeviceGlobalsMet) {
635635
// Extract device global maps per module
636636
auto DevGlobalPropertyMap = collectDeviceGlobalProperties(M);
637637
if (!DevGlobalPropertyMap.empty())

0 commit comments

Comments
 (0)