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 (?)
Paths
| Differential D88135
[MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info. ClosedPublic Authored by timshen on Sep 22 2020, 11:38 PM.
Details Summary 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 TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptSep 22 2020, 11:38 PM
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(). This revision is now accepted and ready to land.Sep 27 2020, 11:47 AM Closed by commit rGf0506e4923cd: [MLIR] Avoid adding debuginfo for a function if it contains calls that has no… (authored by timshen). · Explain WhySep 29 2020, 1:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 293855 mlir/lib/ExecutionEngine/ExecutionEngine.cpp
mlir/lib/Target/LLVMIR/DebugTranslation.cpp
mlir/test/Target/llvmir-debug.mlir
|
Can't it be done in mlir::translateModuleToLLVMIR directly because of the FIXME above?