[llvm] Handle #dbg_values in SROA. (PR #94070)
Shubham Sandeep Rastogi via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 13:14:13 PDT 2024
================
@@ -4977,8 +4977,6 @@ const Value *getAddress(const DbgVariableIntrinsic *DVI) {
}
const Value *getAddress(const DbgVariableRecord *DVR) {
- assert(DVR->getType() == DbgVariableRecord::LocationType::Declare ||
- DVR->getType() == DbgVariableRecord::LocationType::Assign);
----------------
rastogishubham wrote:
Thanks for the explanation, I am going to leave this as-is for now
https://github.com/llvm/llvm-project/pull/94070
More information about the llvm-commits
mailing list