summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorGerolf Hoflehner <ghoflehner@apple.com>2014-04-30 22:05:02 +0000
committerGerolf Hoflehner <ghoflehner@apple.com>2014-04-30 22:05:02 +0000
commit3282af13d4f991235c43f5837252c546db24f7a8 (patch)
tree32c574777bff0afeb3b76b7427f446ac29bdf3b2 /llvm/lib/CodeGen/MachineVerifier.cpp
parent0b2026de6b374239c637a7c7215032fceded7966 (diff)
downloadbcm5719-llvm-3282af13d4f991235c43f5837252c546db24f7a8.tar.gz
bcm5719-llvm-3282af13d4f991235c43f5837252c546db24f7a8.zip
Patch for function cloning to inline all blocks whose address is taken
Not all address taken blocks get inlined. The reason is that a blocks new address is known only when it is cloned. But e.g. a branch instruction in a different block could need that address earlier while it gets cloned. The solution is to collect the set of all blocks that can potentially get inlined and compute a new block address up front. Then clone and cleanup. rdar://16427209 llvm-svn: 207713
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud