[all-commits] [llvm/llvm-project] 80c33d: [SelectionDAG] Add llvm.vector.{extract, insert} in...
Joe Ellis via All-commits
all-commits at lists.llvm.org
Wed Dec 9 03:09:18 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80c33de2d3c59ca357c67b2b2475d27f79dd8a8b
https://github.com/llvm/llvm-project/commit/80c33de2d3c59ca357c67b2b2475d27f79dd8a8b
Author: Joe Ellis <joe.ellis at arm.com>
Date: 2020-12-09 (Wed, 09 Dec 2020)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/CodeGen/AArch64/sve-extract-vector.ll
A llvm/test/CodeGen/AArch64/sve-insert-vector.ll
A llvm/test/Transforms/InstCombine/canonicalize-vector-extract.ll
A llvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll
A llvm/test/Verifier/extract-vector-mismatched-element-types.ll
A llvm/test/Verifier/insert-vector-mismatched-element-types.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list