Skip to content

Commit 054e0b4

Browse files
authored
[AMDGPU] Add all type for bitcast on VReg_512 (#131775)
Add all types pattern for bitcast on VReg_512
1 parent 5d8e8e8 commit 054e0b4

File tree

2 files changed

+2472
-81
lines changed

2 files changed

+2472
-81
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,14 @@ def : BitConvert <v8i64, v16f32, VReg_512>;
18881888
def : BitConvert <v8f64, v16f32, VReg_512>;
18891889
def : BitConvert <v16f32, v8i64, VReg_512>;
18901890
def : BitConvert <v16f32, v8f64, VReg_512>;
1891-
1891+
def : BitConvert <v8i64, v32f16, VReg_512>;
1892+
def : BitConvert <v8i64, v32i16, VReg_512>;
1893+
def : BitConvert <v8f64, v32f16, VReg_512>;
1894+
def : BitConvert <v8f64, v32i16, VReg_512>;
1895+
def : BitConvert <v32f16, v8i64, VReg_512>;
1896+
def : BitConvert <v32f16, v8f64, VReg_512>;
1897+
def : BitConvert <v32i16, v8i64, VReg_512>;
1898+
def : BitConvert <v32i16, v8f64, VReg_512>;
18921899

18931900

18941901
def : BitConvert <v32bf16, v32i16, VReg_512>;

0 commit comments

Comments
 (0)