Go to file
David Majnemer db0773089f InstCombine: Fix miscompile in X % -Y -> X % Y transform
We assumed that negation operations of the form (0 - %Z) resulted in a
negative number.  This isn't true if %Z was originally negative.
Substituting the negative number into the remainder operation may result
in undefined behavior because the dividend might be INT_MIN.

This fixes PR21256.

llvm-svn: 219639
2014-10-13 22:37:51 +00:00
clang Fix the build 2014-10-13 22:18:22 +00:00
clang-tools-extra [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
compiler-rt Fix minor typos in comments. 2014-10-13 21:40:52 +00:00
debuginfo-tests cleanup comments and remove an obsolete workaround 2014-10-13 18:04:10 +00:00
libclc Implement log1p builtin 2014-10-07 20:22:42 +00:00
libcxx Fix for PR 19616: 'tuple_cat of nested tuples fails in noexcept specification'. Thanks to Louis Dionne for the fix. 2014-10-07 21:42:12 +00:00
libcxxabi Correctly export _Unwind_[GS]et(GR|IP) for EHABI. 2014-10-13 21:01:30 +00:00
lld Reapply [ELF] Only mark as DT_NEEDED libs that are strictly necessary (r219353) 2014-10-09 22:06:38 +00:00
lldb Don't lock the IOHandlerList::m_mutex in Debugger::RunIOHandler(...) since if a process is resumed or halted, it will try to push/pop the process IOHandler and it will deadlock. 2014-10-13 16:54:26 +00:00
llvm InstCombine: Fix miscompile in X % -Y -> X % Y transform 2014-10-13 22:37:51 +00:00
openmp I apologise in advance for the size of this check-in. At Intel we do 2014-10-07 16:25:50 +00:00
polly [Refactor][NfC] Simplify and clean the handling of (new) access relations 2014-10-13 12:58:03 +00:00