[llvm] f5b85c0 - [DebugInfo][NFC] Remove `FuncArgumentDbgValueKind::Addr` from SelectionDAG

J. Ryan Stinnett via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 01:31:20 PST 2023


Author: J. Ryan Stinnett
Date: 2023-03-02T09:29:42Z
New Revision: f5b85c02e94d8556127c91de59174304df37995a

URL: https://github.com/llvm/llvm-project/commit/f5b85c02e94d8556127c91de59174304df37995a
DIFF: https://github.com/llvm/llvm-project/commit/f5b85c02e94d8556127c91de59174304df37995a.diff

LOG: [DebugInfo][NFC] Remove `FuncArgumentDbgValueKind::Addr` from SelectionDAG

This removes the unused `FuncArgumentDbgValueKind::Addr` value originally added
by e24f5348798605a799c63ff09169d177d262cd37. The intent was to signal the
original intrinsic that marked a function argument, but the `Addr` part was
never used.

Part of `dbg.addr` removal
Discussed in https://discourse.llvm.org/t/what-is-the-status-of-dbg-addr/62898

Differential Revision: https://reviews.llvm.org/D144794

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index c02016d0043d..8f6dae9cb4e8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -672,7 +672,6 @@ class SelectionDAGBuilder {
   /// EmitFuncArgumentDbgValue.
   enum class FuncArgumentDbgValueKind {
     Value,   // This was originally a llvm.dbg.value.
-    Addr,    // This was originally a llvm.dbg.addr.
     Declare, // This was originally a llvm.dbg.declare.
   };
 


        


More information about the llvm-commits mailing list