llvm-6502/include
Benjamin Kramer 45b5f7e457 [SDAG] Now that we have a way to communicate the exact bit on sdiv use it to simplify sdiv by a constant.
We had a hack in SDAGBuilder in place to work around this but now we
can avoid that. Call BuildExactSDIV from BuildSDIV so DAGCombiner can
perform this trick automatically.

The added check in DAGCombiner is necessary to prevent exact sdiv by pow2
from regressing as the target-specific pow2 lowering is not aware of
exact bits yet.

This is mostly covered by existing tests. One side effect is that we
get the better lowering for exact vector sdivs now too :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240891 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-27 20:33:26 +00:00
..
llvm [SDAG] Now that we have a way to communicate the exact bit on sdiv use it to simplify sdiv by a constant. 2015-06-27 20:33:26 +00:00
llvm-c Update LLVM bindings after r239940. Apparently these aren't included in 2015-06-18 11:51:16 +00:00