Go to file
Benjamin Kramer 5b455f0b62 [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 :)

llvm-svn: 240891
2015-06-27 20:33:26 +00:00
clang [Sema] Unions cannot have virtual functions. 2015-06-27 19:18:55 +00:00
clang-tools-extra [clang-tidy] Fix false positives in misc-macro-parentheses checker 2015-06-23 12:45:14 +00:00
compiler-rt [msan] Fix infinite recursion when _Unwind_Backtrace calls memcpy 2015-06-27 08:39:12 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Properly initialize Module pointer 2015-06-27 12:35:54 +00:00
libcxx Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld [opt] Inline a trivial lookup function into the header. 2015-06-27 03:40:10 +00:00
lldb Add ABI/SysV-mips(64) to Makefile build 2015-06-27 17:31:28 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +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
openmp Allow machine hierarchy expansion 2015-06-22 15:59:18 +00:00
polly Increase the dependence-analysis compute out 2015-06-26 21:58:42 +00:00