DAG: Cleanup assertion in EmitFuncArgumentDbgValue
authorChristudasan Devadasan <Christudasan.Devadasan@amd.com>
Fri, 30 Apr 2021 03:50:26 +0000 (09:20 +0530)
committerChristudasan Devadasan <Christudasan.Devadasan@amd.com>
Tue, 4 May 2021 16:18:58 +0000 (21:48 +0530)
commit80c79035ef06b4429c4bb6aa5504fff08ace4b05
tree946cac6a730a36691ff5d888a63a7776d8aee49d
parent7e83a7f1fdfcc2edde61f0a535f9d7a56f531db9
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
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/AMDGPU/ptr-arg-dbg-value.ll [new file with mode: 0644]