[all-commits] [llvm/llvm-project] 20507a: [Verifier][CGP] Allow integer argument to dbg_decl...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 10 03:30:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20507a9e95a08069863e9910a688a38370d58952
      https://github.com/llvm/llvm-project/commit/20507a9e95a08069863e9910a688a38370d58952
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/CodeGen/AArch64/selectiondag-order.ll
    M llvm/test/CodeGen/X86/selectiondag-order.ll
    A llvm/test/Transforms/CodeGenPrepare/X86/cast-debuginfo-salvage.ll

  Log Message:
  -----------
  [Verifier][CGP] Allow integer argument to dbg_declare (#134803)

Relaxes the newly added verifier rule to also allow an integer argument
to dbg_declare, which is interpreted as a pointer. Adjust CGP to deal with
it gracefully.

Fixes https://github.com/llvm/llvm-project/issues/134523.
Alternative to https://github.com/llvm/llvm-project/pull/134601.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list