OSDN Git Service

SpeculativeExecution: Stop using whitelist for costs
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 May 2017 18:02:18 +0000 (18:02 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 May 2017 18:02:18 +0000 (18:02 +0000)
commit5c80457142ce4d9048673907b726d938e9bedb36
tree322509a4d33ec31caf9e4918d641f6ea306c5799
parent3dac85d14826f75d0769bba9b481c441564fa855
SpeculativeExecution: Stop using whitelist for costs

Just let TTI's cost do this instead of arbitrarily restricting
this.

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