This has been a long standing TODO, and actually enables users to generate
debug information for LLVM using the LLVM dialect; as opposed to our
dummy placeholder that generated just enough for line table information.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td | ||
---|---|---|
241 | Is this line <= 80 characters? | |
244 | Why the roundtrip here? | |
mlir/include/mlir/IR/Location.h | ||
45 | dyn_cast<T>(loc)? | |
mlir/lib/Target/LLVMIR/DebugTranslation.cpp | ||
81 | very nice | |
mlir/test/Target/LLVMIR/openmp-nested.mlir | ||
41 | I don't have the context for this test, but why this change? |
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td | ||
---|---|---|
244 | The intrinsics want the values to be wrapped as metadata... (it's all quite weird) | |
mlir/test/Target/LLVMIR/openmp-nested.mlir | ||
41 | Essentially just that the generation changed depending on the presence of debug info (if info isn't generated, a different global var is created). We don't implicitly generate debug info anymore, so it uses the fallback path (but that's not important for this test). |
Is this line <= 80 characters?