llvm-project/llvm/lib/Transforms/InstCombine
chenglin.bi 52f323d0f1 [InstCombine] Fold abs of known negative operand when source is sub
When abs source comes from (x - y), check if a "x > y" dominating
condition exists.

Fixes #54132

Differential Revision: https://reviews.llvm.org/D122013
2022-03-23 15:21:33 -04:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp [InstCombine] try harder to propagate 'nsz' through fneg-of-select 2022-03-15 11:05:29 -04:00
InstCombineAndOrXor.cpp [InstCombine] Fold select based logic of fcmps with same operands when FMF is present. 2022-03-14 14:45:07 -07:00
InstCombineAtomicRMW.cpp Cleanup includes: Transform/Scalar 2022-03-03 07:56:34 +01:00
InstCombineCalls.cpp [InstCombine] Fold abs of known negative operand when source is sub 2022-03-23 15:21:33 -04:00
InstCombineCasts.cpp Cleanup includes: Transform/Scalar 2022-03-03 07:56:34 +01:00
InstCombineCompares.cpp [InstCombine] Add general constant support to eq/ne icmp(add(X,C1),add(Y,C2)) -> icmp(add(X,C1-C2),Y) fold 2022-03-15 14:17:38 +00:00
InstCombineInternal.h [InstCombine] Fold select based logic of fcmps with same operands when FMF is present. 2022-03-14 14:45:07 -07:00
InstCombineLoadStoreAlloca.cpp Cleanup includes: Transform/Scalar 2022-03-03 07:56:34 +01:00
InstCombineMulDivRem.cpp Cleanup includes: Transform/Scalar 2022-03-03 07:56:34 +01:00
InstCombineNegator.cpp [InstCombine] Fold sub(Y,and(lshr(X,C),1)) --> add(ashr(shl(X,(BW-1)-C),BW-1),Y) (PR53610) 2022-02-15 13:24:20 +00:00
InstCombinePHI.cpp Reapply [InstCombine] Support switch in phi to cond fold 2022-03-17 10:03:09 +01:00
InstCombineSelect.cpp [InstCombine] Remove integer SPF of SPF folds (NFCI) 2022-03-18 10:20:48 +01:00
InstCombineShifts.cpp [InstCombine] try to narrow shifted bswap-of-zext (2nd try) 2022-03-23 11:28:37 -04:00
InstCombineSimplifyDemanded.cpp Cleanup includes: Transform/Scalar 2022-03-03 07:56:34 +01:00
InstCombineVectorOps.cpp [InstCombine] reorder code, fix formatting; NFC 2022-03-22 16:33:01 -04:00
InstructionCombining.cpp [InstCombine] Sink instructions with multiple users in a successor block. 2022-03-18 11:53:45 +08:00