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)
commit9ac7d6be3c4a3426d4b0a0f75a1d27f80d6ed304
tree9d737557339da65f31d5cbfe091328ed0a1123f5
parent49f7e0a98bb88aa3c1244b9c7f6dfff90c0123b2
SpeculativeExecution: Stop using whitelist for costs

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

llvm-svn: 301950
llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
llvm/test/Transforms/SpeculativeExecution/spec-other.ll [new file with mode: 0644]
llvm/test/Transforms/SpeculativeExecution/spec-vector.ll [new file with mode: 0644]