summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MCA
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse.llvm@gmail.com>2019-02-13 13:37:33 +0000
committerJeremy Morse <jeremy.morse.llvm@gmail.com>2019-02-13 13:37:33 +0000
commita9a11aac0f943ef7eccb31214f9fd9eeb340a78e (patch)
tree135155899362e08c08b0672a4272e1bee747a0a2 /llvm/lib/MCA
parent76e961207bd19b218f2afe66e55511261ee2f132 (diff)
downloadbcm5719-llvm-a9a11aac0f943ef7eccb31214f9fd9eeb340a78e.tar.gz
bcm5719-llvm-a9a11aac0f943ef7eccb31214f9fd9eeb340a78e.zip
[DebugInfo][DAG] Limit special-casing of dbg.values for Arguments
SelectionDAGBuilder has special handling for dbg.value intrinsics that are understood to define the location of function parameters on entry to the function. To enable this, we avoid recording a dbg.value as a virtual register reference if it might be such a parameter, so that it later hits EmitFuncArgumentDbgValue. This patch reduces the set of circumstances where we avoid recording a dbg.value as a virtual register reference, to allow more "normal" variables to be recorded that way. We now only bypass for potential parameters if: * The dbg.value operand is an Argument, * The Variable is a parameter, and * The Variable is not inlined. meaning it's very likely that the dbg.value is a function-entry parameter location. Differential Revision: https://reviews.llvm.org/D57584 llvm-svn: 353948
Diffstat (limited to 'llvm/lib/MCA')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud