Skip to content

Commit

Permalink
Mirror of 50f32e5
Browse files Browse the repository at this point in the history
Signed-off-by: hanhanW <[email protected]>
  • Loading branch information
hanhanW committed Nov 6, 2024
1 parent 79e3540 commit 998f183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/plugins/target/LLVMCPU/LLVMTargetOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ std::optional<LLVMTarget> LLVMTarget::createForHost() {
if (status != ResolveCPUAndCPUFeaturesStatus::OK) {
llvm::errs() << "Internal error while creating host target: "
<< getMessage(status, triple) << "\n";
assert(false);
return std::nullopt;
}
if (target)
target->populateDefaultsFromTargetMachine();
Expand Down

0 comments on commit 998f183

Please sign in to comment.