llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel 6f716a7c5e [InstCombine] C / -X --> -C / X
We already do this in DAGCombiner, but it should
also be good to eliminate the fsub use in IR.

This is similar to rL325648.

llvm-svn: 325649
2018-02-21 00:01:45 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
InstCombineAddSub.cpp [InstCombine] canonicalize constant-minus-boolean to select-of-constants 2017-12-06 21:22:57 +00:00
InstCombineAndOrXor.cpp [InstCombine] Add constant vector support for ~(C >> Y) --> ~C >> Y 2018-02-10 21:46:09 +00:00
InstCombineCalls.cpp [Transforms] Propagate new-format TBAA tags on simplification of memory-transfer intrinsics 2018-02-19 12:10:20 +00:00
InstCombineCasts.cpp Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
InstCombineCompares.cpp Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
InstCombineInternal.h [InstCombine] narrow masked zexted binops (PR35792) 2018-01-25 16:34:36 +00:00
InstCombineLoadStoreAlloca.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
InstCombineMulDivRem.cpp [InstCombine] C / -X --> -C / X 2018-02-21 00:01:45 +00:00
InstCombinePHI.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
InstCombineSelect.cpp [InstCombine] Don't fold select(C, Z, binop(select(C, X, Y), W)) -> select(C, Z, binop(Y, W)) if the binop is rem or div. 2018-02-14 18:08:33 +00:00
InstCombineShifts.cpp [InstCombine] Check for out of range ashr values using APInt before calling getZExtValue 2018-01-09 14:23:46 +00:00
InstCombineSimplifyDemanded.cpp Remove useless comment - seems to be a copy+paste typo. NFCI 2018-02-16 20:41:06 +00:00
InstCombineVectorOps.cpp [InstCombine] Gracefully handle out of range extractelement indices 2017-12-27 12:00:18 +00:00
InstructionCombining.cpp Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
LLVMBuild.txt