summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CFIVerify.rst
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-06-21 17:59:52 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-06-21 17:59:52 +0000
commitd041f218100e482839a232ae9e23b073bf19b812 (patch)
tree9fe88cf97a1b0e06d0ff0b4674d9a1fd5f04a8fe /llvm/docs/CFIVerify.rst
parent59a1be3acf40663f078317cb0877def00a6cb673 (diff)
downloadbcm5719-llvm-d041f218100e482839a232ae9e23b073bf19b812.tar.gz
bcm5719-llvm-d041f218100e482839a232ae9e23b073bf19b812.zip
[DebugInfo] Ignore DBG_VALUE instructions in PostRA Machine Sink
Summary: The logic for handling the sinking of COPY instructions was generating different code when building with debug flags. The original code did not take into consideration debug instructions. This resulted in the registers in the DBG_VALUE instructions being treated as used, and prevented the COPY from being sunk. This patch avoids analyzing debug instructions when trying to sink COPY instructions. This patch also creates a routine from the code in MachineSinking::SinkInstruction to perform the logic of sinking an instruction along with its debug instructions. This functionality is used in multiple places, including the code for sinking COPY instrs. Reviewers: junbuml, javed.absar, MatzeB, bjope Reviewed By: bjope Subscribers: aprantl, probinson, thegameg, jonpa, bjope, vsk, kristof.beyls, JDevlieghere, llvm-commits Tags: #debug-info Differential Revision: https://reviews.llvm.org/D45637 llvm-svn: 335264
Diffstat (limited to 'llvm/docs/CFIVerify.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud