llvm-project/llvm/test/Bitcode/constexpr-to-instr-metadata.ll
Pedro Lobo 4af8c5382e
[BitcodeReader] Use poison instead of undef to represent unsupported constexprs in metadata (#127665)
Metadata that references unsupported constant expressions can be
represented with `poison` metadata instead of `undef` metadata.
2025-02-19 10:13:37 +01:00

5 lines
219 B
LLVM

; RUN: llvm-dis -expand-constant-exprs < %S/Inputs/constexpr-to-instr-metadata.bc | FileCheck %s
; CHECK-LABEL: define void @test() {
; CHECK: #dbg_value(i64 poison, !4, !DIExpression(DW_OP_LLVM_fragment, 64, 64), !13