Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection"
authorJeremy Morse <jeremy.morse@sony.com>
Wed, 5 Feb 2020 16:57:59 +0000 (16:57 +0000)
committerJeremy Morse <jeremy.morse@sony.com>
Thu, 6 Feb 2020 14:41:40 +0000 (14:41 +0000)
commitece761427f63de96ee52bbd6be1c61b07967a917
tree6017d7355f6da741fb88fbfdc1441b9a80a44816
parented5998d21e4bdffe4baae918bc9065ae8435c49c
Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection"

This reverts commit 3137fe4d23eeb8df08c03e9111465325eeafe08e.

I'm backing out D68945, which this patch is a follow up for. It'll be
re-landed when D68945 is fixed.

The changes to dbg-value-func-arg.ll occur because our handling of certain
kinds of location now mixes up indirection that happens at different points
in a DIExpression. While this is a regression, it's a return to the prior
behaviour while a better patch is sought.
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/dbg-value-func-arg.ll
llvm/test/DebugInfo/X86/stack-arg-deref.ll [deleted file]