]> granicus.if.org Git - llvm/commit
Revert r301950: SpeculativeExecution: Stop using whitelist for costs
authorChandler Carruth <chandlerc@gmail.com>
Wed, 10 May 2017 12:30:07 +0000 (12:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 10 May 2017 12:30:07 +0000 (12:30 +0000)
commit7fa7b1a23a3f564c27049e87a8b7caa31035e0a8
tree67de8c1510f30573fc97d0038999a8afb1950fcd
parent2385754c5e1ce0689b4295a3e13e1a47215b850d
Revert r301950: SpeculativeExecution: Stop using whitelist for costs

This pass doesn't correctly handle testing for when it is legal to hoist
arbitrary instructions. The whitelist happens to make it safe, so before
it is removed the pass's legality checks will need to be enhanced.

Details have been added to the code review thread for the patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302640 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SpeculativeExecution.cpp
test/Transforms/SpeculativeExecution/spec-other.ll [deleted file]
test/Transforms/SpeculativeExecution/spec-vector.ll [deleted file]