mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
c59c742c81
getUserCost() currently returns TCC_Free for any extend of a compare (i1) result. It seems this is only true in a limited number of cases where for example two compares are chained. Even in those types of cases it seems unlikely that they are generally free, while they may be in some cases. This patch therefore removes this special handling of cast of i1. No tests are failing because of this. If some target want the old behavior, it could override getUserCost(). Review: Hal Finkel, Chandler Carruth, Evgeny Astigeevich, Simon Pilgrim, Ulrich Weigand https://reviews.llvm.org/D54742/new/ llvm-svn: 360970 |
||
---|---|---|
.. | ||
cmp-ext-01.ll | ||
cmp-ext-02.ll | ||
cmp-mem.ll | ||
cmp-tofp-scalar.ll | ||
cmp-tofp.ll | ||
cmpsel.ll | ||
divrem-const.ll | ||
divrem-pow2.ll | ||
divrem-reg.ll | ||
ext-load.ll | ||
ext-of-icmp-cost.ll | ||
fp-arith.ll | ||
fp-cast.ll | ||
int-arith.ll | ||
int-cast.ll | ||
int-operands-extcost.ll | ||
intrinsic-cost-crash.ll | ||
intrinsics.ll | ||
lit.local.cfg | ||
load_store.ll | ||
load-and-test.ll | ||
load-ptr-cmp-fold.ll | ||
logical.ll | ||
memop-folding-int-arith.ll | ||
numvectorregs.ll | ||
scalar-cmp-cmp-log-sel.ll | ||
shuffle.ll | ||
vectorinstrs.ll |