Also add a verifier pass to ExecutionEngine.
It's hard to come up with a test case, since mlir-opt always add location info after parsing it (?)
Differential D88135
[MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info. timshen on Sep 22 2020, 11:38 PM. Authored by
Details Also add a verifier pass to ExecutionEngine. It's hard to come up with a test case, since mlir-opt always add location info after parsing it (?)
Diff Detail
Event Timeline
Comment Actions Did you miss my last question? Comment Actions I took "end of the translate" by "after the translate" not "within it but in the end", and moved it to ExecutionEngine where translateModuleToLLVMIR() was called. Moved to translateModuleToLLVMIR. It does make more sense to move it to translateModuleToLLVMIR(). |