1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Transforms/InstCombine
Joe Ellis eb525ef991 [SelectionDAG] Add llvm.vector.{extract,insert} intrinsics
This commit adds two new intrinsics.

- llvm.experimental.vector.insert: used to insert a vector into another
  vector starting at a given index.

- llvm.experimental.vector.extract: used to extract a subvector from a
  larger vector starting from a given index.

The codegen work for these intrinsics has already been completed; this
commit is simply exposing the existing ISD nodes to LLVM IR.

Reviewed By: cameron.mcinally

Differential Revision: https://reviews.llvm.org/D91362
2020-12-09 11:08:41 +00:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC 2020-12-04 12:34:49 -08:00
InstCombineAndOrXor.cpp [InstCombine] Fold and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK) to and(sext(%x), SIGNMASK) 2020-11-20 00:31:27 +03:00
InstCombineAtomicRMW.cpp
InstCombineCalls.cpp [SelectionDAG] Add llvm.vector.{extract,insert} intrinsics 2020-12-09 11:08:41 +00:00
InstCombineCasts.cpp [InstCombine] Improve vector undef handling for sext(ashr(shl(trunc()))) fold, 2 2020-12-01 16:54:00 +03:00
InstCombineCompares.cpp [InstCombine] Fix constant-folding of overflowing arithmetic ops on vectors 2020-11-09 14:41:07 +03:00
InstCombineInternal.h [InstCombine] Remove replacePointer (NFC) 2020-12-06 10:24:08 -08:00
InstCombineLoadStoreAlloca.cpp [SVE][InstCombine] Fix TypeSize warning in canReplaceGEPIdxWithZero 2020-10-26 17:40:26 +00:00
InstCombineMulDivRem.cpp
InstCombineNegator.cpp [InstCombine] Negator: - (C - %x) --> %x - C (PR47997) 2020-11-03 16:06:51 +03:00
InstCombinePHI.cpp
InstCombineSelect.cpp [InstCombine] foldSelectFunnelShift - block poison in funnel shift value 2020-11-08 12:58:30 +00:00
InstCombineShifts.cpp [InstCombine] canonicalize sign-bit-shift of difference to ext(icmp) 2020-12-01 09:58:11 -05:00
InstCombineSimplifyDemanded.cpp [InstCombine] Optimize away the unnecessary multi-use sign-extend 2020-12-01 16:54:00 +03:00
InstCombineVectorOps.cpp [InstCombine] Use is_contained (NFC) 2020-11-21 15:47:11 -08:00
InstructionCombining.cpp [InstCombine] avoid crash on phi with unreachable incoming block (PR48369) 2020-12-06 09:31:47 -05:00