summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AutoUpgrade.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-06-10 22:38:30 +0000
committerPete Cooper <peter_cooper@apple.com>2015-06-10 22:38:30 +0000
commit87b925b0645e33fc353d8c54ab21b26792262dc8 (patch)
tree943bbe2c778529bf412d5e451fcfe0e468e64766 /llvm/lib/IR/AutoUpgrade.cpp
parent115fe3762108b7aca37274cb31f10a48d9b35b01 (diff)
downloadbcm5719-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/AutoUpgrade.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud