Skip to content

Commit 78e026f

Browse files
committed
[RISCV][NFC] Document F64 ISD Nodes
1 parent 06d1929 commit 78e026f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,17 @@ enum NodeType : unsigned {
4343
/// integer or floating point.
4444
SELECT_CC,
4545
BR_CC,
46+
47+
/// Turns a pair of `i32`s into an `f64`. Needed for rv32d/ilp32.
48+
/// - Output: `f64`.
49+
/// - Input 0: low-order bits (31-0) (as `i32`), for even register.
50+
/// - Input 1: high-order bits (63-32) (as `i32`), for odd register.
4651
BuildPairF64,
52+
53+
/// Turns a `f64` into a pair of `i32`s. Needed for rv32d/ilp32.
54+
/// - Output 0: low-order bits (31-0) (as `i32`), from even register.
55+
/// - Output 1: high-order bits (63-32) (as `i32`), from odd register.
56+
/// - Input 0: `f64`.
4757
SplitF64,
4858

4959
// Add the Lo 12 bits from an address. Selected to ADDI.

0 commit comments

Comments
 (0)