summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-11-24 20:43:12 +0000
committerFlorian Hahn <flo@fhahn.com>2019-11-24 21:21:55 +0000
commit9d24933f79dd7db3e469b3c4402e076cc41418f7 (patch)
treec15a57456ea3aa8a2b0c42f91d057c9baa07d3c1 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
parent1de788a1f16eeb3c2a4f8bffb63809c0f22600f3 (diff)
downloadbcm5719-llvm-9d24933f79dd7db3e469b3c4402e076cc41418f7.tar.gz
bcm5719-llvm-9d24933f79dd7db3e469b3c4402e076cc41418f7.zip
Recommit f0c2a5a "[LV] Generalize conditions for sinking instrs for first order recurrences."
This version contains 2 fixes for reported issues: 1. Make sure we do not try to sink terminator instructions. 2. Make sure we bail out, if we try to sink an instruction that needs to stay in place for another recurrence. Original message: If the recurrence PHI node has a single user, we can sink any instruction without side effects, given that all users are dominated by the instruction computing the incoming value of the next iteration ('Previous'). We can sink instructions that may cause traps, because that only causes the trap to occur later, but not on any new paths. With the relaxed check, we also have to make sure that we do not have a direct cycle (meaning PHI user == 'Previous), which indicates a reduction relation, which potentially gets missed by ReductionDescriptor. As follow-ups, we can also sink stores, iff they do not alias with other instructions we move them across and we could also support sinking chains of instructions and multiple users of the PHI. Fixes PR43398. Reviewers: hsaito, dcaballe, Ayal, rengolin Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D69228
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud