Skip to content

Commit 6a4af7d

Browse files
committed
support v2f32 = bitconvert f64
1 parent cc603d8 commit 6a4af7d

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
@@ -2587,6 +2587,8 @@ def: Pat<(vt (bitconvert (f32 Float32Regs:$a))),
25872587
def: Pat<(f32 (bitconvert vt:$a)),
25882588
(BITCONVERT_32_I2F $a)>;
25892589
}
2590+
def: Pat<(v2f32 (bitconvert (f64 Float64Regs:$a))),
2591+
(BITCONVERT_64_F2I $a)>;
25902592
foreach vt = [f16, bf16] in {
25912593
def: Pat<(vt (bitconvert i16:$a)),
25922594
(vt Int16Regs:$a)>;

0 commit comments

Comments
 (0)