Go to file
Sanjay Patel 30ef70b090 [InstCombine] fold X urem C -> X < C ? X : X - C when C is big (PR28672)
We already have the udiv variant of this transform, so I think this is ok for 
InstCombine too even though there is an increase in IR instructions. As the 
tests and TODO comments show, the transform can lead to follow-on combines.

This should fix: https://llvm.org/bugs/show_bug.cgi?id=28672

Differential Revision: https://reviews.llvm.org/D24527

llvm-svn: 282209
2016-09-22 22:36:26 +00:00
clang [OpenBSD] Add type sign information for OpenBSD 2016-09-22 19:28:20 +00:00
clang-tools-extra [clang-tidy] Add doc for `explain-config` option. 2016-09-22 14:36:43 +00:00
compiler-rt [Profile] Remove unused variable 2016-09-22 21:12:40 +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 Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Fix failure on 03 bot 2016-09-22 03:25:22 +00:00
libcxxabi [libcxxabi] cleanup the use of LIBCXXABI_HAS_NO_THREADS macro (NFC) 2016-09-21 09:09:32 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld [ELF/GC] Don't crash while processing Discarded sections. 2016-09-22 21:08:51 +00:00
lldb Add the ability to deserialize only breakpoints matching a given name. 2016-09-22 22:20:28 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [InstCombine] fold X urem C -> X < C ? X : X - C when C is big (PR28672) 2016-09-22 22:36:26 +00:00
openmp Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
parallel-libs [SE] Fix config bug with CUDA tests 2016-09-15 20:26:28 +00:00
polly [ScopDetection] Remove redundant checks for endless loops 2016-09-20 17:05:22 +00:00