[llvm] [AArch64] Wrap integer SCALAR_TO_VECTOR nodes in bitcasts (PR #172837)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 2 11:59:43 PST 2026


================
@@ -4448,18 +4449,22 @@ multiclass ExtLoad8_16_32AllModes<ValueType OutTy, ValueType InnerTy,
 }
 
 // Instantiate bitconvert patterns for floating-point types.
-defm : ExtLoad8_16AllModes<f32, i32, bitconvert, zextloadi8, zextloadi16>;
-defm : ExtLoad8_16_32AllModes<f64, i64, bitconvert, zextloadi8, zextloadi16, zextloadi32>;
+
+// Create a fragment to reuse same multiclass.
+def bitconvert_frag : PatFrags<(ops node:$src),
----------------
Lukacma wrote:

fixed

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


More information about the llvm-commits mailing list