]> granicus.if.org Git - llvm/commit
[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)
commita4ac27521ec912b4ebadd369ed450a975a888f26
tree858389d1b265cd007fc0081f707e168c11894d7a
parent5d6a5b9543c8d327e86c93c7024f7622ba52dbe3
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371294 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp