diff options
author | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2019-03-04 10:56:02 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2019-03-04 10:56:02 +0000 |
commit | 09d8ea5282505251a3da5cebb6ec7c7e0e685db2 (patch) | |
tree | 7deea771cf0126bb8cc89e3cca807c5115da5b5d /lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py | |
parent | ded118079b629004e36af24b685f4c039ac46007 (diff) | |
download | bcm5719-llvm-09d8ea5282505251a3da5cebb6ec7c7e0e685db2.tar.gz bcm5719-llvm-09d8ea5282505251a3da5cebb6ec7c7e0e685db2.zip |
[X86] Avoid codegen changes when DBG_VALUE appears between lowered selects
X86TargetLowering::EmitLoweredSelect presently detects sequences of CMOV pseudo
instructions without accounting for debug intrinsics. This leads to different
codegen with and without option -g, if a DBG_VALUE instruction lands in the
middle of several lowered selects.
Work around this by skipping over debug instructions when looking for CMOV
sequences, and sinking those debug insts into the EmitLoweredSelect sunk block.
This might slightly shift where variables appear in the instruction sequence,
but won't re-order assignments.
Differential Revision: https://reviews.llvm.org/D58672
llvm-svn: 355307
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py')
0 files changed, 0 insertions, 0 deletions