summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-05-12 02:19:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-05-12 02:19:59 +0000
commitd869b188260fc0f76747fb09b02e2bfe98f60a56 (patch)
treee7889f6ce98730603a33f204f0cb31f80200a6bd /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parent4fe342cb7560993988dd6f978607a2442a905910 (diff)
downloadbcm5719-llvm-d869b188260fc0f76747fb09b02e2bfe98f60a56.tar.gz
bcm5719-llvm-d869b188260fc0f76747fb09b02e2bfe98f60a56.zip
[PM/Unswitch] Teach the new simple loop unswitch to handle loop
invariant PHI inputs and to rewrite PHI nodes during the actual unswitching. The checking is quite easy, but rewriting the PHI nodes is somewhat surprisingly challenging. This should handle both branches and switches. I think this is now a full featured trivial unswitcher, and more full featured than the trivial cases in the old pass while still being (IMO) somewhat simpler in how it works. Next up is to verify its correctness in more widespread testing, and then to add non-trivial unswitching. Thanks to Davide and Sanjoy for the excellent review. There is one remaining question that I may address in a follow-up patch (see the review thread for details) but it isn't related to the functionality specifically. Differential Revision: https://reviews.llvm.org/D32699 llvm-svn: 302867
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud