Go to file
David Majnemer cb9d596655 InstCombine, InstSimplify: (%X /s C1) /s C2 isn't always 0 when C1 * C2 overflow
consider:
C1 = INT_MIN
C2 = -1

C1 * C2 overflows without a doubt but consider the following:
%x = i32 INT_MIN

This means that (%X /s C1) is 1 and (%X /s C1) /s C2 is -1.

N. B.  Move the unsigned version of this transform to InstSimplify, it
doesn't create any new instructions.

This fixes PR21243.

llvm-svn: 219567
2014-10-11 10:20:01 +00:00
clang [complex] Use the much more powerful EmitCall routine to call libcalls 2014-10-11 09:24:41 +00:00
clang-tools-extra Small cleanups from review comments. 2014-10-09 13:22:46 +00:00
compiler-rt [UBSan] Disable one run line of this test to allow the test as a whole 2014-10-11 06:49:00 +00:00
debuginfo-tests Properly shutdown lldb by invoking SBDebugger_Terminate() 2014-10-09 22:16:46 +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 Use __atomic_exchange_n instead of Clang's __sync_swap 2014-10-03 20:03:47 +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 Add a IsInstrumentationRuntimePresent SB API 2014-10-11 01:59:32 +00:00
llvm InstCombine, InstSimplify: (%X /s C1) /s C2 isn't always 0 when C1 * C2 overflow 2014-10-11 10:20:01 +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 Relax the condition on the jsop accesses regarding the alignment. 2014-10-10 15:14:29 +00:00