We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663042b commit aac3cd1Copy full SHA for aac3cd1
llvm/tools/sycl-post-link/sycl-post-link.cpp
@@ -974,6 +974,7 @@ processInputModule(std::unique_ptr<Module> M) {
974
MDesc.fixupLinkageOfDirectInvokeSimdTargets();
975
SmallVector<module_split::ModuleDesc, 2> MMs =
976
handleESIMD(std::move(MDesc), Modified, SplitOccurred);
977
+ assert(MMs.size() && "at least one module is expected after ESIMD split");
978
979
if (IROutputOnly) {
980
if (SplitOccurred) {
0 commit comments