[llvm] [RISCV] Teach fillUpExtensionSupportForSplat to handle nxvXi64 VMV_V_X_VL on RV32. (PR #99251)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 02:47:31 PDT 2024


================
@@ -14477,10 +14477,22 @@ struct NodeExtensionHelper {
     // widening opcode by splatting to smaller element size.
     unsigned EltBits = VT.getScalarSizeInBits();
     unsigned ScalarBits = Op.getValueSizeInBits();
-    // Make sure we're getting all element bits from the scalar register.
-    // FIXME: Support implicit sign extension of vmv.v.x?
-    if (ScalarBits < EltBits)
+    // Make sure we're not getting all bits from the element, we need special
+    // handling.
----------------
lukel97 wrote:

If we're not getting all bits?

https://github.com/llvm/llvm-project/pull/99251


More information about the llvm-commits mailing list