forked from OSchip/llvm-project
8d487668d0
Yes, if operands are non-positive this comes at the extra cost
of two extra negations. But a. division is already just
ridiculously costly, two more subtractions can't hurt much :)
and b. we have better/more analyzes/folds for an unsigned division,
we could end up narrowing it's bitwidth, converting it to lshr, etc.
This is essentially a take two on
|
||
---|---|---|
.. | ||
2010-09-02-Trunc.ll | ||
2010-09-26-MergeConstantRange.ll | ||
add.ll | ||
alloca.ll | ||
and.ll | ||
ashr.ll | ||
basic.ll | ||
conflict.ll | ||
crash.ll | ||
deopt.ll | ||
guards.ll | ||
icmp.ll | ||
merge-range-and-undef.ll | ||
mul.ll | ||
non-null.ll | ||
overflow_predicate.ll | ||
overflows.ll | ||
phi-common-val.ll | ||
pointer.ll | ||
pr35807.ll | ||
profmd.ll | ||
range.ll | ||
sdiv.ll | ||
select.ll | ||
sext.ll | ||
shl.ll | ||
srem.ll | ||
sub.ll | ||
udiv.ll | ||
urem.ll |