1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/lib/Transforms/InstCombine
Simon Pilgrim 72f99d6988 [InstCombine] Fix constexpr issue in select combining
As discussed by Andrea on PR30486, we have an unsafe cast to an Instruction type in the select combine which doesn't take into account that it could be a ConstantExpr instead.

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

llvm-svn: 284000
2016-10-12 10:20:15 +00:00
..
CMakeLists.txt
InstCombineAddSub.cpp InstCombine: Replace some never-null pointers with references. NFC 2016-08-05 01:06:44 +00:00
InstCombineAndOrXor.cpp [InstCombine] add helper function for folding {and,or,xor} (cast X), C ; NFCI 2016-09-12 00:16:23 +00:00
InstCombineCalls.cpp [InstCombine][SSE4a] Fix assertion failure in the insertq/insertqi combining logic. 2016-09-07 12:47:53 +00:00
InstCombineCasts.cpp Reapply "InstCombine: Reduce trunc (shl x, K) width." 2016-09-13 19:43:57 +00:00
InstCombineCompares.cpp Remove duplicated code; NFC 2016-10-02 00:09:57 +00:00
InstCombineInternal.h [InstCombine] allow non-splat folds of select cond (ext X), C 2016-09-30 19:49:22 +00:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Transform !range metadata to !nonnull when combining loads 2016-10-11 01:00:45 +00:00
InstCombineMulDivRem.cpp [InstCombine] Teach the udiv folding logic how to handle constant expressions. 2016-09-26 12:07:23 +00:00
InstCombinePHI.cpp Use the range variant of find/find_if instead of unpacking begin/end 2016-08-12 03:55:06 +00:00
InstCombineSelect.cpp [InstCombine] fold select X, (ext X), C 2016-10-07 17:53:07 +00:00
InstCombineShifts.cpp Replace a few more "fall through" comments with LLVM_FALLTHROUGH 2016-08-17 20:30:52 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine] Fixed bug introduced in r282237 2016-09-26 13:18:59 +00:00
InstCombineVectorOps.cpp [InstCombine] Fix for PR29124: reduce insertelements to shufflevector 2016-09-23 09:14:08 +00:00
InstructionCombining.cpp [InstCombine] Fix constexpr issue in select combining 2016-10-12 10:20:15 +00:00
LLVMBuild.txt