1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Transforms/InstCombine
John Brawn ac7908cda2 [InstCombine] Correct the cmp operand type used when canonicalizing abs/nabs
When adjusting a cmp in order to canonicalize an abs/nabs select pattern we need
to use the type of the existing operand when creating a new operand not the
type of a select operand, as the two may be different.

This fixes PR37686.

llvm-svn: 334019
2018-06-05 14:10:55 +00:00
..
CMakeLists.txt
InstCombineAddSub.cpp [InstCombine] improve sub with bool folds 2018-06-03 16:35:26 +00:00
InstCombineAndOrXor.cpp Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
InstCombineCalls.cpp Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
InstCombineCasts.cpp [InstCombine] don't change the size of a select if it would mismatch its condition operands' sizes 2018-05-31 00:16:58 +00:00
InstCombineCompares.cpp Fix a bunch of places where operator-> was used directly on the return from dyn_cast. 2018-05-05 01:57:00 +00:00
InstCombineInternal.h Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
InstCombineLoadStoreAlloca.cpp Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
InstCombineMulDivRem.cpp [InstCombine] Fix div handling 2018-06-04 02:52:36 +00:00
InstCombinePHI.cpp Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
InstCombineSelect.cpp [InstCombine] Correct the cmp operand type used when canonicalizing abs/nabs 2018-06-05 14:10:55 +00:00
InstCombineShifts.cpp [InstCombine] call simplify before trying vector folds 2018-06-02 16:27:44 +00:00
InstCombineSimplifyDemanded.cpp [X86] Remove and autoupgrade a bunch of FMA instrinsics that are no longer used by clang. 2018-05-11 21:59:34 +00:00
InstCombineVectorOps.cpp [InstCombine] Gracefully handle out of range extractelement indices 2017-12-27 12:00:18 +00:00
InstructionCombining.cpp [InstCombine] refine UB-handling in shuffle-binop transform 2018-06-04 22:26:45 +00:00
LLVMBuild.txt