File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
mlir/include/mlir/Dialect/Vector/IR Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -644,11 +644,13 @@ def Vector_ExtractElementOp :
644
644
Results<(outs AnyType:$result)> {
645
645
let summary = "extractelement operation";
646
646
let description = [{
647
+ Note: This operation is deprecated. Please use vector.extract insert.
648
+
647
649
Takes a 0-D or 1-D vector and a optional dynamic index position and
648
650
extracts the scalar at that position.
649
651
650
652
Note that this instruction resembles vector.extract, but is restricted to
651
- 0-D and 1-D vectors and relaxed to dynamic indices .
653
+ 0-D and 1-D vectors.
652
654
If the vector is 0-D, the position must be std::nullopt.
653
655
654
656
@@ -834,11 +836,13 @@ def Vector_InsertElementOp :
834
836
Results<(outs AnyVectorOfAnyRank:$result)> {
835
837
let summary = "insertelement operation";
836
838
let description = [{
839
+ Note: This operation is deprecated. Please use vector.insert instead.
840
+
837
841
Takes a scalar source, a 0-D or 1-D destination vector and a dynamic index
838
842
position and inserts the source into the destination at the proper position.
839
843
840
844
Note that this instruction resembles vector.insert, but is restricted to 0-D
841
- and 1-D vectors and relaxed to dynamic indices .
845
+ and 1-D vectors.
842
846
843
847
It is meant to be closer to LLVM's version:
844
848
https://llvm.org/docs/LangRef.html#insertelement-instruction
You can’t perform that action at this time.
0 commit comments