aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Linker
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
commitfbab4a8c8a142502b7cdeb7112366f8560a94cec (patch)
tree05a89aa34493a306669ab20028d3b135d58383a8 /lib/Linker
parent8e1fc56b2496270d1d6040cb648eef5d5aeb6079 (diff)
downloadexternal_llvm-fbab4a8c8a142502b7cdeb7112366f8560a94cec.zip
external_llvm-fbab4a8c8a142502b7cdeb7112366f8560a94cec.tar.gz
external_llvm-fbab4a8c8a142502b7cdeb7112366f8560a94cec.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
0 files changed, 0 insertions, 0 deletions