[Mlir-commits] [mlir] [RemoveDIs][MLIR] Don't process debug records in the LLVM-IR translator (PR #89735)
Stephen Tozer
llvmlistbot at llvm.org
Tue Apr 23 03:46:43 PDT 2024
================
@@ -64,12 +64,12 @@ define void @unhandled_intrinsic() gc "example" {
declare void @llvm.dbg.value(metadata, metadata, metadata)
; CHECK: import-failure.ll
-; CHECK-SAME: warning: dropped intrinsic: call void @llvm.dbg.value(metadata !DIArgList(i64 %{{.*}}, i64 undef), metadata !3, metadata !DIExpression(DW_OP_LLVM_arg, 0, DW_OP_LLVM_arg, 1, DW_OP_constu, 1, DW_OP_mul, DW_OP_plus, DW_OP_stack_value))
----------------
SLTozer wrote:
The code and checks have been updated here because internally to LLVM we're deleting and recreating these intrinsics; although it seems like it should be a no-op, the builder will eagerly try to make the new intrinsics tail calls, hence we get the `tail` prefix after the otherwise-opaque roundtrip.
https://github.com/llvm/llvm-project/pull/89735
More information about the Mlir-commits
mailing list