Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kbobrovs committed Jun 7, 2022
1 parent 4cda64f commit d77bf6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion llvm/tools/sycl-post-link/ModuleSplitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ groupEntryPointsByKernelType(const Module &M, bool EmitOnlyKernelsAsEntryPoints,
}
} else {
// No entry points met, record this.
EntryPointGroups.push_back({SYCL_SCOPE_NAME, {}});
EntryPointGroups.emplace_back(EntryPointGroup{SYCL_SCOPE_NAME, {}});
EntryPointGroup& G = EntryPointGroups.back();
G.Props.HasESIMD = SyclEsimdSplitStatus::SYCL_ONLY;
}

return EntryPointGroups;
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/sycl-post-link/ModuleSplitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ModuleDesc {

public:
struct Properties {
bool SpecConstsMet = true;
bool SpecConstsMet = false;
};
std::string Name = "";
Properties Props;
Expand Down

0 comments on commit d77bf6e

Please sign in to comment.