Skip to content

Commit

Permalink
[Dcompute] Disable all moduleinfo, do not require pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilsonator committed Sep 26, 2023
1 parent 5a15884 commit 9eef20e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/dcomputecodegenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ DComputeCodeGenManager::DComputeCodeGenManager(llvm::LLVMContext &c) : ctx(c) {

void DComputeCodeGenManager::emit(Module *m) {
for (auto &target : targets) {
m->noModuleInfo = true;
target->emit(m);
IrDsymbol::resetAll();
}
Expand Down

0 comments on commit 9eef20e

Please sign in to comment.