A loaded value with multiple users compared with 0 will become a load and test single instruction. The load is not folded in this case (multiple users), but the compare instruction is eliminated. This patch returns 0 cost for the icmp in these cases. Review: Ulrich Weigand https://reviews.llvm.org/D55111 llvm-svn: 348141 |
||
|---|---|---|
| .. | ||
| 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 | ||
| 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-and-test.ll | ||
| load-ptr-cmp-fold.ll | ||
| load_store.ll | ||
| logical.ll | ||
| memop-folding-int-arith.ll | ||
| numvectorregs.ll | ||
| scalar-cmp-cmp-log-sel.ll | ||
| shuffle.ll | ||
| vectorinstrs.ll | ||