1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Transforms
Sanjay Patel add1397ba7 [InstCombine] improve demanded vector elements analysis of insertelement
Recurse instead of returning on the first found optimization. Also, return early in the caller
instead of continuing because that allows another round of simplification before we might
potentially lose undef information from a shuffle mask by eliminating the shuffle.

As noted in the review, we could probably do better and be more efficient by moving all of
demanded elements into a separate pass, but this is yet another quick fix to instcombine.

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

llvm-svn: 312248
2017-08-31 15:57:17 +00:00
..
Coroutines [coroutines] Add support for symmetric control transfer (musttail on coro.resumes followed by a suspend) 2017-08-25 02:25:10 +00:00
Hello
InstCombine [InstCombine] improve demanded vector elements analysis of insertelement 2017-08-31 15:57:17 +00:00
Instrumentation [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer 2017-08-30 22:49:31 +00:00
IPO Don't add a fragment expression when GlobalSRA splits up a single-member struct 2017-08-31 00:06:18 +00:00
ObjCARC Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Scalar [IRCE] Identify loops with latch comparison against current IV value 2017-08-31 07:04:20 +00:00
Utils [SimplifyCFG] Fix for PR34219: Preserve alignment after merging conditional stores. 2017-08-29 20:06:24 +00:00
Vectorize [SLPVectorizer] Move out Entry->NeedToGather check and assert of inner loop as invariant, NFCI. 2017-08-31 14:10:07 +00:00
CMakeLists.txt
LLVMBuild.txt