llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel 9d0bf7699c [InstCombine] don't try to fold a constant expression that can trap (PR50906)
We could use a bigger hammer and bail out on any constant
expression, but there's a regression test that appears to
validly do the transform (although it may not have been
intending to check that optimization).
2021-06-28 17:00:21 -04:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp [InstCombine] fix nsz (fast-math) propagation from fneg-of-select 2021-06-08 17:04:30 -04:00
InstCombineAndOrXor.cpp [InstCombine] InstCombinerImpl::visitOr - enable bitreverse matching 2021-05-15 13:39:09 +01:00
InstCombineAtomicRMW.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineCalls.cpp [InstCombine] hoist min/max intrinsics above select with constant op 2021-06-27 10:02:23 -04:00
InstCombineCasts.cpp [InstCombine] Eliminate casts to optimize ctlz operation 2021-06-23 11:19:12 -04:00
InstCombineCompares.cpp [InstCombine] don't try to fold a constant expression that can trap (PR50906) 2021-06-28 17:00:21 -04:00
InstCombineInternal.h [InstCombine] Support one-hot merge for logical and/or 2021-05-12 21:01:18 +02:00
InstCombineLoadStoreAlloca.cpp [OpaquePtr] Support changing load type in InstCombine 2021-06-22 21:16:15 +02:00
InstCombineMulDivRem.cpp [InstCombine] Fold (sext bool X) * (sext bool X) to zext (and X, X) 2021-06-18 16:28:06 +07:00
InstCombineNegator.cpp [Transforms] Use range-based for loops (NFC) 2021-02-08 22:33:53 -08:00
InstCombinePHI.cpp [InstCombine] Use poison constant to represent the result of unreachable instrs 2021-06-21 09:58:44 +09:00
InstCombineSelect.cpp [InstCombine] avoid infinite loops with select folds of constant expressions 2021-06-20 09:46:25 -04:00
InstCombineShifts.cpp [InstCombine] fold shift-of-srem-by-2 to mask+shift 2021-04-20 17:10:16 -04:00
InstCombineSimplifyDemanded.cpp [InsCombine] Fix a few remaining vec transforms to use poison instead of undef 2021-05-31 18:47:09 +09:00
InstCombineVectorOps.cpp [InstCombine] Add fold for extracting known elements from a stepvector 2021-06-10 13:36:57 +01:00
InstructionCombining.cpp [InstCombine] hoist min/max intrinsics above select with constant op 2021-06-27 10:02:23 -04:00