1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/Transforms/InstCombine
Craig Topper d93296dbb4 [InstCombine] Improve support for ashr in foldICmpAndShift
We can support ashr similar to lshr, if we know that none of the shifted in bits are used. In that case SimplifyDemandedBits would normally convert it to lshr. But that conversion doesn't happen if the shift has additional users.

Differential Revision: https://reviews.llvm.org/D38521

llvm-svn: 314945
2017-10-04 23:06:13 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
InstCombineAddSub.cpp [InstCombine] Add select simplifications 2017-09-20 17:32:16 +00:00
InstCombineAndOrXor.cpp [ValueTracking, InstCombine] canonicalize fcmp ord/uno with non-NAN ops to null constants 2017-09-05 23:13:13 +00:00
InstCombineCalls.cpp [X86] Remove VPERM2F128/VPERM2I128 intrinsics and autoupgrade to native shuffles. 2017-09-16 07:36:14 +00:00
InstCombineCasts.cpp [InstCombine] Support vector splats in transformZExtICmp 2017-08-29 18:58:13 +00:00
InstCombineCompares.cpp [InstCombine] Improve support for ashr in foldICmpAndShift 2017-10-04 23:06:13 +00:00
InstCombineInternal.h Recommit r314561 after fixing msan build failure 2017-10-04 20:17:55 +00:00
InstCombineLoadStoreAlloca.cpp Update getMergedLocation to check the instruction type and merge properly. 2017-10-02 18:13:14 +00:00
InstCombineMulDivRem.cpp [InstCombine] Add select simplifications 2017-09-20 17:32:16 +00:00
InstCombinePHI.cpp Recommit r314561 after fixing msan build failure 2017-10-04 20:17:55 +00:00
InstCombineSelect.cpp [InstCombine] Move foldSelectICmpAnd helper function earlier in the file to enable reuse in a future patch. 2017-09-05 05:26:37 +00:00
InstCombineShifts.cpp [InstCombine] Added support for (X >>s C) << C --> X & (-1 << C) 2017-08-15 19:33:14 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine] improve demanded vector elements analysis of insertelement 2017-08-31 15:57:17 +00:00
InstCombineVectorOps.cpp [InstCombine] remove extract-of-select vector transform (2nd try) 2017-09-25 20:30:53 +00:00
InstructionCombining.cpp [InstCombine] Gating select arithmetic optimization. 2017-09-27 17:16:51 +00:00
LLVMBuild.txt