aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/prepare_binding_Python.py
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2016-12-16 16:03:31 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2016-12-16 16:03:31 +0000
commit85347dde27db69941622f0302cad5bda66d7a208 (patch)
treeaefd932404cac5a83a1d73b26af9cc6ef594a741 /lldb/scripts/Python/prepare_binding_Python.py
parent4b73c3de50b9a000edd2bc1db8491ca923bfbc3c (diff)
downloadllvm-85347dde27db69941622f0302cad5bda66d7a208.zip
llvm-85347dde27db69941622f0302cad5bda66d7a208.tar.gz
llvm-85347dde27db69941622f0302cad5bda66d7a208.tar.bz2
[CodeGenPrep] Skip merging empty case blocks
This is recommit of r287553 after fixing the invalid loop info after eliminating an empty block: Summary: Merging an empty case block into the header block of switch could cause ISel to add COPY instructions in the header of switch, instead of the case block, if the case block is used as an incoming block of a PHI. This could potentially increase dynamic instructions, especially when the switch is in a loop. I added a test case which was reduced from the benchmark I was targetting. Reviewers: t.p.northover, mcrosier, manmanren, wmi, joerg, davidxl Subscribers: joerg, qcolombet, danielcdh, hfinkel, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D22696 llvm-svn: 289951
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
0 files changed, 0 insertions, 0 deletions