summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2012-03-23 17:47:54 +0000
committerDan Gohman <gohman@apple.com>2012-03-23 17:47:54 +0000
commit5c70fadc17edae5a7719eecae0b348cd888bd178 (patch)
tree82923712e9b38e8421e5b6c2d5ebafc32d60eb68 /llvm/lib/MC/ELFObjectWriter.cpp
parentadd6f1d2e944aa4f1c8040c0ce8b28852ad252f5 (diff)
downloadbcm5719-llvm-5c70fadc17edae5a7719eecae0b348cd888bd178.tar.gz
bcm5719-llvm-5c70fadc17edae5a7719eecae0b348cd888bd178.zip
It's not possible to insert code immediately after an invoke in the
same basic block, and it's not safe to insert code in the successor blocks if the edges are critical edges. Splitting those edges is possible, but undesirable, especially on the unwind side. Instead, make the bottom-up code motion to consider invokes to be part of their successor blocks, rather than part of their parent blocks, so that it doesn't push code past them and onto the edges. This fixes PR12307. llvm-svn: 153343
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud