1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Transforms/InstCombine
Sanjay Patel 35504cee33 [InstCombine] canonicalize bitcast after insertelement into undef
We have a transform in the opposite direction only for the x86 MMX type,
Other types are not handled either way before this patch.

The motivating case from PR45748:
https://bugs.llvm.org/show_bug.cgi?id=45748
...is the last test diff. In that example, we are triggering an existing
bitcast transform, so we reduce the number of casts, and that should give
us the ideal x86 codegen.

Differential Revision: https://reviews.llvm.org/D79171
2020-05-10 11:37:47 -04:00
..
CMakeLists.txt [InstCombine] Negator - sink sinkable negations 2020-04-21 22:00:23 +03:00
InstCombineAddSub.cpp [InstCombine] Negator - sink sinkable negations 2020-04-21 22:00:23 +03:00
InstCombineAndOrXor.cpp [InstCombine] matchOrConcat - match BITREVERSE 2020-05-10 16:00:29 +01:00
InstCombineAtomicRMW.cpp [NFC] Modernize misc. uses of Align/MaybeAlign APIs. 2020-04-06 17:53:04 -07:00
InstCombineCalls.cpp [SVE] Fix incorrect usage of getNumElements() in InstCombineCalls 2020-05-07 08:46:51 -07:00
InstCombineCasts.cpp [InstCombine] fold fpext into exact integer-to-FP cast 2020-05-10 07:04:54 -04:00
InstCombineCompares.cpp [InstCombine] generalize canonicalization of masked equality comparisons 2020-04-25 11:31:57 -04:00
InstCombineInternal.h [InstCombine] clean up foldItoFPtoI; NFC 2020-05-08 12:13:42 -04:00
InstCombineLoadStoreAlloca.cpp InstCombine: Broaden copy-constant-to-alloca optimization 2020-05-09 16:00:27 -04:00
InstCombineMulDivRem.cpp [SVE] Fix invalid usage of getNumElements() in InstCombineMulDivRem 2020-05-05 15:19:01 -07:00
InstCombineNegator.cpp [InstCombine] Negator: 'or' with no common bits set is just 'add' 2020-04-28 19:16:32 +03:00
InstCombinePHI.cpp [InstCombine] Use replaceOperand() in non zero phi transform 2020-03-31 21:54:21 +02:00
InstCombineSelect.cpp [InstCombine] use select-of-constants with set/clear bit mask patterns 2020-05-03 09:44:43 -04:00
InstCombineShifts.cpp [SVE] Update API ConstantVector::getSplat() to use ElementCount. 2020-03-12 13:22:41 -07:00
InstCombineSimplifyDemanded.cpp [InstCombine][SVE] Fix visitInsertElementInst for scalable type. 2020-05-07 12:44:52 -07:00
InstCombineTables.td
InstCombineVectorOps.cpp [InstCombine] canonicalize bitcast after insertelement into undef 2020-05-10 11:37:47 -04:00
InstructionCombining.cpp [SVE] Fix invalid usage of VectorType::getNumElements() in InstCombine 2020-05-01 10:56:29 -07:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00