summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-10-04 23:41:05 +0000
committerHal Finkel <hfinkel@anl.gov>2013-10-04 23:41:05 +0000
commitf5a3eaea55b32a6f475870aaa18f2f95c3b37a40 (patch)
treeec3deedfa9af3b0b7a6583779f91e93c4aca634c /llvm/lib/CodeGen
parent41369b5f416f393b5869a19cb0629b6d6e97417d (diff)
downloadbcm5719-llvm-f5a3eaea55b32a6f475870aaa18f2f95c3b37a40.tar.gz
bcm5719-llvm-f5a3eaea55b32a6f475870aaa18f2f95c3b37a40.zip
UpdatePHINodes in BasicBlockUtils should not crash on duplicate predecessors
UpdatePHINodes has an optimization to reuse an existing PHI node, where it first deletes all of its entries and then replaces them. Unfortunately, in the case where we had duplicate predecessors (which are allowed so long as the associated PHI entries have the same value), the loop removing the existing PHI entries from the to-be-reused PHI would assert (if that PHI was not the one which had the duplicates). llvm-svn: 192001
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud