| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [SelectionDAG] Recognise splat vector isKnownToBeAPowerOfTwo one/sign bit ↵ | Simon Pilgrim | 2017-04-25 | 1 | -0/+47 |
| | | | | | | | shift cases. llvm-svn: 301303 | ||||
| * | [DAGCombiner] Try to use SelectionDAG::isKnownToBeAPowerOfTwo instead of ↵ | Simon Pilgrim | 2016-12-14 | 1 | -93/+54 |
| | | | | | | | | | | | | | just APInt::isPowerOf2 Generalize sdiv/udiv/srem/urem combines using APInt::isPowerOf2, which only works for const/splat-const values, to call SelectionDAG::isKnownToBeAPowerOfTwo instead which recognises many more cases. Added a DAGCombiner::BuildLogBase2 helper since PowerOf2 combines often involve taking the log2 of such a value. Differential Revision: https://reviews.llvm.org/D27714 llvm-svn: 289654 | ||||
| * | [X86][SSE] Add AVX1 tests to sdiv/udiv srem/urem combine tests | Simon Pilgrim | 2016-12-14 | 1 | -33/+80 |
| | | | | | | | As requested on D27714 llvm-svn: 289652 | ||||
| * | [DAGCombiner] Add splatted vector support to (udiv x, (shl pow2, y)) -> x ↵ | Simon Pilgrim | 2016-10-18 | 1 | -47/+19 |
| | | | | | | | >>u (log2(pow2)+y) llvm-svn: 284491 | ||||
| * | [X86][SSE] Added vector udiv combine tests | Simon Pilgrim | 2016-09-17 | 1 | -0/+199 |
| llvm-svn: 281842 | |||||

