[SimplifyCFG] SpeculativelyExecuteBB(): It's SpeculatedInstructions, not SpeculationCost
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 7 Sep 2019 09:06:06 +0000 (09:06 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 7 Sep 2019 09:06:06 +0000 (09:06 +0000)
commit45ba26599bcc762224fefa60374a5594974260eb
treeeefd70a6f0859bdc82b7d5855934774c2d1ebe28
parent112f145306dadfc1aed545b59b7afa5db905b31e
[SimplifyCFG] SpeculativelyExecuteBB(): It's SpeculatedInstructions, not SpeculationCost

It counts the number of instructions we are ok speculating
(at most 1 there), not their cost, so rename accordingly.

llvm-svn: 371294
llvm/lib/Transforms/Utils/SimplifyCFG.cpp