Skip to content

Commit 6f6cc43

Browse files
committed
support v2f32 = bitconvert f64
1 parent 7601e31 commit 6f6cc43

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
@@ -2672,6 +2672,8 @@ def: Pat<(vt (bitconvert (f32 Float32Regs:$a))),
26722672
def: Pat<(f32 (bitconvert vt:$a)),
26732673
(BITCONVERT_32_I2F $a)>;
26742674
}
2675+
def: Pat<(v2f32 (bitconvert (f64 Float64Regs:$a))),
2676+
(BITCONVERT_64_F2I $a)>;
26752677
foreach vt = [f16, bf16] in {
26762678
def: Pat<(vt (bitconvert i16:$a)),
26772679
(vt Int16Regs:$a)>;

0 commit comments

Comments
 (0)