diff options
author | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-04-30 22:05:02 +0000 |
---|---|---|
committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-04-30 22:05:02 +0000 |
commit | 3282af13d4f991235c43f5837252c546db24f7a8 (patch) | |
tree | 32c574777bff0afeb3b76b7427f446ac29bdf3b2 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 0b2026de6b374239c637a7c7215032fceded7966 (diff) | |
download | bcm5719-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