Skip to content

Commit 8e58959

Browse files
committed
support v2f32 = bitconvert f64
1 parent 0fe3d55 commit 8e58959

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/NVPTX/NVPTXInstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,6 +2550,8 @@ def: Pat<(vt (bitconvert (f32 Float32Regs:$a))),
25502550
def: Pat<(f32 (bitconvert vt:$a)),
25512551
(BITCONVERT_32_I2F $a)>;
25522552
}
2553+
def: Pat<(v2f32 (bitconvert (f64 Float64Regs:$a))),
2554+
(BITCONVERT_64_F2I $a)>;
25532555
foreach vt = [f16, bf16] in {
25542556
def: Pat<(vt (bitconvert i16:$a)),
25552557
(vt Int16Regs:$a)>;

0 commit comments

Comments
 (0)