summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-08-02 04:08:04 +0000
committerPhilip Reames <listmail@philipreames.com>2018-08-02 04:08:04 +0000
commit32cb80b9d317f4fd754af7fac78cda37a1c0ccce (patch)
tree0eb52e8bc045ba90759b5f671fe4dadc5c430808 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent24b13cb06d7f9dd0471bbba670cf104b42cee01a (diff)
downloadbcm5719-llvm-32cb80b9d317f4fd754af7fac78cda37a1c0ccce.tar.gz
bcm5719-llvm-32cb80b9d317f4fd754af7fac78cda37a1c0ccce.zip
[LICM] Factor out fault legality from canHoistOrSinkInst [NFC]
This method has three callers, each of which wanted distinct handling: 1) Sinking into a loop is moving an instruction known to execute before a loop into the loop. We don't need to worry about introducing a fault at all in this case. 2) Hoisting from a loop into a preheader already duplicated the check in the caller. 3) Sinking from the loop into an exit block was the only true user of the code within the routine. For the moment, this has just been lifted into the caller, but up next is examining the logic more carefully. Whitelisting of loads and calls - while consistent with the previous code - is rather suspicious. Either way, a behavior change is worthy of it's own patch. llvm-svn: 338671
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud