commit | b65439a150b62774c5ef5a850d274194df0b82e5 | [log] [tgz] |
---|---|---|
author | Stephen Tozer <stephen.tozer@sony.com> | Tue Apr 23 14:27:06 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 06:34:14 2024 -0700 |
tree | 08e1940e58eb5ddba4a01b6f5efc00cee3a5e06a | |
parent | 1036a8a61caa301fab3db8600568afc35b5b6602 [diff] |
[RemoveDIs][MLIR] Don't process debug records in the LLVM-IR translator (#89735) We are almost ready to enable the use of debug records everywhere in LLVM by default; part of the prep-work for this means ensuring that every tool supports them. Every tool in the `llvm/` project supports them, front-ends that use the `DIBuilder` will support them, and as far as I can tell, the only other tool in the LLVM repo that needs to support them but doesn't is `mlir-translate`. This patch trivially unblocks them by converting from debug records to debug intrinsics before translating a module. GitOrigin-RevId: 670ac235b52887b621ab9c75c6be7f5ac4ceb9f8
See https://mlir.llvm.org/ for more information.