[llvm] Handle llvm.dbg.values in SROA. (PR #94070)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 09:21:33 PDT 2024
================
@@ -426,6 +426,11 @@ class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
/// Does this describe the address of a local variable. True for dbg.addr
/// and dbg.declare, but not dbg.value, which describes its value.
bool isAddressOfVariable() const { return Type == LocationType::Declare; }
+
+ /// Does this describe the value of a local variable. False for dbg.addr
----------------
felipepiovezan wrote:
dbg_addr doesn't exist anymore!
https://github.com/llvm/llvm-project/pull/94070
More information about the llvm-commits
mailing list