Skip to content

Commit d77bf6e

Browse files
committed
Fix test failures
1 parent 4cda64f commit d77bf6e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ groupEntryPointsByKernelType(const Module &M, bool EmitOnlyKernelsAsEntryPoints,
175175
}
176176
} else {
177177
// No entry points met, record this.
178-
EntryPointGroups.push_back({SYCL_SCOPE_NAME, {}});
178+
EntryPointGroups.emplace_back(EntryPointGroup{SYCL_SCOPE_NAME, {}});
179+
EntryPointGroup& G = EntryPointGroups.back();
180+
G.Props.HasESIMD = SyclEsimdSplitStatus::SYCL_ONLY;
179181
}
180182

181183
return EntryPointGroups;

llvm/tools/sycl-post-link/ModuleSplitter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class ModuleDesc {
9999

100100
public:
101101
struct Properties {
102-
bool SpecConstsMet = true;
102+
bool SpecConstsMet = false;
103103
};
104104
std::string Name = "";
105105
Properties Props;

0 commit comments

Comments
 (0)