llvm-project/llvm/lib/Transforms/InstCombine
Reid Kleckner 91f7a4fff7 Revert "[InstCombine] Recognize `((x * y) s/ x) !=/== y` as an signed multiplication overflow check (PR48769)"
This reverts commit 13ec913bdf.

This commit introduces new uses of the overflow checking intrinsics that
depend on implementations in compiler-rt, which Windows users generally
do not link against. I filed an issue (somewhere) to make clang
auto-link the builtins library to resolve this situation, but until that
happens, it isn't reasonable for the optimizer to introduce new link
time dependencies.
2021-04-20 15:53:34 -07:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp [InstCombine] (X | Op01C) + Op1C --> X + (Op01C + Op1C) iff the or is actually an add 2021-04-11 18:08:08 +03:00
InstCombineAndOrXor.cpp [InstCombine] Improve "get low bit mask upto and including bit X" pattern 2021-04-11 18:08:08 +03:00
InstCombineAtomicRMW.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineCalls.cpp [InstCombine] Enhance deduction of alignment for aligned_alloc 2021-04-20 02:04:18 +02:00
InstCombineCasts.cpp Revert "[InstCombine] `sext(trunc(x)) --> sext(x)` iff trunc is NSW (PR49543)" 2021-04-21 01:11:15 +03:00
InstCombineCompares.cpp Revert "[InstCombine] Recognize `((x * y) s/ x) !=/== y` as an signed multiplication overflow check (PR48769)" 2021-04-20 15:53:34 -07:00
InstCombineInternal.h Revert "[InstCombine] Recognize `((x * y) s/ x) !=/== y` as an signed multiplication overflow check (PR48769)" 2021-04-20 15:53:34 -07:00
InstCombineLoadStoreAlloca.cpp Update InstCombine to use undef matcher instead 2021-04-18 11:05:36 +09:00
InstCombineMulDivRem.cpp [InstCombine] fold fdiv with powi divisor (PR49147) 2021-02-24 16:44:36 -05:00
InstCombineNegator.cpp [Transforms] Use range-based for loops (NFC) 2021-02-08 22:33:53 -08:00
InstCombinePHI.cpp [InstCombine] Simplify phis with incoming pointer-casts. 2021-03-09 11:40:18 +00:00
InstCombineSelect.cpp Update InstCombine to use undef matcher instead 2021-04-18 11:05:36 +09:00
InstCombineShifts.cpp [InstCombine] fold shift-of-srem-by-2 to mask+shift 2021-04-20 17:10:16 -04:00
InstCombineSimplifyDemanded.cpp Update InstCombine to use undef matcher instead 2021-04-18 11:05:36 +09:00
InstCombineVectorOps.cpp Update InstCombine to use undef matcher instead 2021-04-18 11:05:36 +09:00
InstructionCombining.cpp free(nullptr) does not violate the nofree specification 2021-04-20 09:08:05 -07:00