Go to file
Steve King fee370be72 Fix llc crash processing S/UREM for -Oz builds caused by rL250825.
When taking the remainder of a value divided by a constant, visitREM()
attempts to convert the REM to a longer but faster sequence of instructions.
This conversion calls combine() on a speculative DIV instruction. Commit
rL250825 may cause this combine() to return a DIVREM, corrupting nearby nodes.
Flow eventually hits unreachable().

This patch adds a test case and a check to prevent visitREM() from trying
to convert the REM instruction in cases where a DIVREM is possible.
See http://reviews.llvm.org/D14035

llvm-svn: 251373
2015-10-27 00:14:06 +00:00
clang Use early exits to reduce indentation. 2015-10-27 00:06:21 +00:00
clang-tools-extra [clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay 2015-10-26 21:56:02 +00:00
compiler-rt [msan] Yet another attempt to fix process_vm_readv test. 2015-10-27 00:11:28 +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 integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Fix test suite configuration. Sorry Marshall 2015-10-26 19:08:53 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Add FreeBSD _Unwind_Ptr typedef 2015-10-16 19:40:09 +00:00
lld ELF2: Ignore -( and -). 2015-10-26 19:05:44 +00:00
lldb Change TestTypeCompletion to not rely on std::string 2015-10-26 23:39:12 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm Fix llc crash processing S/UREM for -Oz builds caused by rL250825. 2015-10-27 00:14:06 +00:00
openmp Removed zeroing th.th_task_state for master thread at start of nested parallel. 2015-10-20 19:21:04 +00:00
polly RegionGenerator: Clear local maps after statement construction 2015-10-26 20:41:53 +00:00