aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorChristudasan Devadasan <Christudasan.Devadasan@amd.com>2021-04-30 09:20:26 +0530
committerChristudasan Devadasan <Christudasan.Devadasan@amd.com>2021-05-04 21:48:58 +0530
commit80c79035ef06b4429c4bb6aa5504fff08ace4b05 (patch)
tree946cac6a730a36691ff5d888a63a7776d8aee49d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent7e83a7f1fdfcc2edde61f0a535f9d7a56f531db9 (diff)
downloadllvm-80c79035ef06b4429c4bb6aa5504fff08ace4b05.zip
llvm-80c79035ef06b4429c4bb6aa5504fff08ace4b05.tar.gz
llvm-80c79035ef06b4429c4bb6aa5504fff08ace4b05.tar.bz2
DAG: Cleanup assertion in EmitFuncArgumentDbgValue
Removing an assertion introduced with D68945. The patch was later reverted with 6531a78ac4b5, but failed to remove this assertion. It causes a problem while trying to split a 64-bit argument into sub registers. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D101594
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index c226dc3..7b5daaf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -5611,7 +5611,6 @@ bool SelectionDAGBuilder::EmitFuncArgumentDbgValue(
DAG.AddDbgValue(SDV, false);
continue;
}
- assert(!IsDbgDeclare && "DbgDeclare operand is not in memory?");
FuncInfo.ArgDbgValues.push_back(
BuildMI(MF, DL, TII->get(TargetOpcode::DBG_VALUE), IsDbgDeclare,
RegAndSize.first, Variable, *FragmentExpr));