diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-10 22:38:30 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-10 22:38:30 +0000 |
commit | 87b925b0645e33fc353d8c54ab21b26792262dc8 (patch) | |
tree | 943bbe2c778529bf412d5e451fcfe0e468e64766 /llvm/lib/IR/BasicBlock.cpp | |
parent | 115fe3762108b7aca37274cb31f10a48d9b35b01 (diff) | |
download | bcm5719-llvm-87b925b0645e33fc353d8c54ab21b26792262dc8.tar.gz bcm5719-llvm-87b925b0645e33fc353d8c54ab21b26792262dc8.zip |
Move the special Phi logic for hung off uses in to User::allocHungOffUses. NFC.
PhiNode's need to allocate space for an array of Use[N] and then BasicBlock*[N].
They had their own allocHungOffUses to handle all of this. This moves the logic
in to User::allocHungOffUses and PhiNode passes in a bool to say to allocate
the BB* space too.
Reviewed by Duncan Exon Smith.
llvm-svn: 239489
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions