[llvm] [GISEL] G_SPLAT_VECTOR can take a splat that is smaller than the vector element (PR #86974)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 28 09:55:38 PDT 2024
================
@@ -690,6 +690,10 @@ G_SPLAT_VECTOR
Create a vector where all elements are the scalar from the source operand.
+The type of the operand must be equal to or smaller than the vector element
+type. If the operand is smaller than the vector element type, the scalar is
+implicitly truncated to the vector element type.
----------------
tschuett wrote:
extended?
https://github.com/llvm/llvm-project/pull/86974
More information about the llvm-commits
mailing list