summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-01 04:57:33 +0000
committerChris Lattner <sabre@nondot.org>2009-11-01 04:57:33 +0000
commita1dc101f66ef44cdb4f9e74168fb71196be236a1 (patch)
treebe6233f29d8c797d2611755e756d65269f9cfd68 /llvm/lib/Transforms/Scalar/SCCP.cpp
parent746139b736b9c567d1e62186b70b0d1c0ae03b29 (diff)
downloadbcm5719-llvm-a1dc101f66ef44cdb4f9e74168fb71196be236a1.tar.gz
bcm5719-llvm-a1dc101f66ef44cdb4f9e74168fb71196be236a1.zip
change llvm::MergeBlockIntoPredecessor to not merge two blocks BB1->BB2
when BB2 has its address taken. Since it ends up doing BB2->rauw(BB1), this can cause the address of the entry block to be taken. Since it is generally undesirable to nuke blocks whose address is taken, even when we can, just unconditionally stop this xform. llvm-svn: 85708
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SCCP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud