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 f950e4d commit e3a6092Copy full SHA for e3a6092
cpp/src/gandiva/engine.cc
@@ -330,6 +330,7 @@ Engine::Engine(const std::shared_ptr<Configuration>& conf,
330
// LLVM 10 doesn't like the expr function name to be the same as the module name
331
auto module_id = "gdv_module_" + std::to_string(reinterpret_cast<uintptr_t>(this));
332
module_ = std::make_unique<llvm::Module>(module_id, *context_);
333
+ module_->setDataLayout(target_machine_->createDataLayout());
334
}
335
336
Engine::~Engine() {}
0 commit comments