summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-05-20 00:38:28 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-05-20 00:38:28 +0000
commit78d947b4f59fd12f370e5ab132a36aeb5e6d3bfd (patch)
tree8790005535c73ddb3e4dcda2d913c67d7a98e009 /llvm/lib/CodeGen/TargetPassConfig.cpp
parenta769fd50ba38b534612e1038b177acb16240bb61 (diff)
downloadbcm5719-llvm-78d947b4f59fd12f370e5ab132a36aeb5e6d3bfd.tar.gz
bcm5719-llvm-78d947b4f59fd12f370e5ab132a36aeb5e6d3bfd.zip
Fix pr27728.
Sorry for the lack testcase. There is one in the pr, but it depends on std::sort and the .ll version is 110 lines, so I don't think it is wort it. The bug was that we were sorting after adding a terminator, and the sorting algorithm could end up putting the terminator in the middle of the List vector. With that we would create a Spans map entry keyed on nullptr which would then be added to CUs and fail in that sorting. llvm-svn: 270165
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud