summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-09-20 22:37:36 +0000
committerManman Ren <mren@apple.com>2012-09-20 22:37:36 +0000
commit93ab64916f67fd826d5aa18afe1629de739b716b (patch)
treebff20f7e839109338982f9653dfd5236a454a29a /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parentb78aeed26e65c577b2b629e9163b21792016d43a (diff)
downloadbcm5719-llvm-93ab64916f67fd826d5aa18afe1629de739b716b.tar.gz
bcm5719-llvm-93ab64916f67fd826d5aa18afe1629de739b716b.zip
SimplifyCFG: sink common codes from IF, ELSE blocks down to END block.
We already have HoistThenElseCodeToIf, this patch implements SinkThenElseCodeToEnd. When END block has only two predecessors and each predecessor terminates with unconditional branches, we compare instructions in IF and ELSE blocks backwards and check whether we can sink the common instructions down. rdar://12191395 llvm-svn: 164325
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud