Skip to content

Commit 03863ae

Browse files
committed
fixup! [AArch64][llvm] Armv9.7-A: Add support for new Advanced SIMD (Neon) instructions
Rename some `def`s after CR comments
1 parent 1af20a6 commit 03863ae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/lib/Target/AArch64/AArch64InstrFormats.td

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6538,7 +6538,7 @@ multiclass SIMDThreeSameVectorFML<bit U, bit b13, bits<3> size, string asm,
65386538
}
65396539

65406540
multiclass SIMDThreeSameVectorMLA<bit Q, string asm, SDPatternOperator op> {
6541-
def v16f8 : BaseSIMDThreeSameVectorDot<Q, 0b0, 0b11, 0b1111, asm, ".8h", ".16b",
6541+
def v8f16_v16i8 : BaseSIMDThreeSameVectorDot<Q, 0b0, 0b11, 0b1111, asm, ".8h", ".16b",
65426542
V128, v8f16, v16i8, op>;
65436543
}
65446544

@@ -6548,19 +6548,19 @@ multiclass SIMDThreeSameVectorMLAL<bit Q, bits<2> sz, string asm, SDPatternOpera
65486548
}
65496549

65506550
multiclass SIMDThreeSameVectorFMLA<string asm> {
6551-
def v8f16tov8f16 : BaseSIMDThreeSameVectorDot<0b1, 0b0, 0b11, 0b1101, asm, ".8h", ".8h",
6551+
def v8f16_v8f16 : BaseSIMDThreeSameVectorDot<0b1, 0b0, 0b11, 0b1101, asm, ".8h", ".8h",
65526552
V128, v8f16, v8f16, null_frag>;
65536553
}
65546554

65556555
multiclass SIMDThreeSameVectorFMLAWiden<string asm> {
6556-
def v8f16tov4f32 : BaseSIMDThreeSameVectorDot<0b1, 0b0, 0b01, 0b1101, asm, ".4s", ".8h",
6556+
def v4f32_v8f16 : BaseSIMDThreeSameVectorDot<0b1, 0b0, 0b01, 0b1101, asm, ".4s", ".8h",
65576557
V128, v4f32, v8f16, null_frag>;
65586558
}
65596559

65606560
multiclass SIMDThreeSameVectorFDot<string asm, SDPatternOperator OpNode = null_frag> {
6561-
def v2f32tov4f16 : BaseSIMDThreeSameVectorDot<0, 0, 0b10, 0b1111, asm, ".2s", ".4h", V64,
6561+
def v2f32_v4f16 : BaseSIMDThreeSameVectorDot<0, 0, 0b10, 0b1111, asm, ".2s", ".4h", V64,
65626562
v2f32, v4f16, OpNode>;
6563-
def v4f32tov8f16 : BaseSIMDThreeSameVectorDot<1, 0, 0b10, 0b1111, asm, ".4s", ".8h", V128,
6563+
def v4f32_v8f16 : BaseSIMDThreeSameVectorDot<1, 0, 0b10, 0b1111, asm, ".4s", ".8h", V128,
65646564
v4f32, v8f16, OpNode>;
65656565
}
65666566

@@ -9186,9 +9186,9 @@ multiclass SIMDThreeSameVectorFMLIndex<bit U, bits<4> opc, string asm,
91869186
}
91879187

91889188
multiclass SIMDThreeSameVectorFDOTIndex<string asm> {
9189-
def v4f16tov2f32 : BaseSIMDThreeSameVectorIndexS<0b0, 0b0, 0b01, 0b1001, asm, ".2s", ".4h", ".2h",
9189+
def v4f16_v2f32 : BaseSIMDThreeSameVectorIndexS<0b0, 0b0, 0b01, 0b1001, asm, ".2s", ".4h", ".2h",
91909190
V64, v2f32, v4f16, VectorIndexS, null_frag>;
9191-
def v8f16tov4f32 : BaseSIMDThreeSameVectorIndexS<0b1, 0b0, 0b01, 0b1001, asm, ".4s", ".8h",".2h",
9191+
def v8f16_v4f32 : BaseSIMDThreeSameVectorIndexS<0b1, 0b0, 0b01, 0b1001, asm, ".4s", ".8h",".2h",
91929192
V128, v4f32, v8f16, VectorIndexS, null_frag>;
91939193
}
91949194

0 commit comments

Comments
 (0)