Skip to content

Commit cc603d8

Browse files
committed
support select v2f32
1 parent f572103 commit cc603d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/NVPTX/NVPTXInstrInfo.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,9 @@ def : Pat<(vt (select i1:$p, vt:$a, vt:$b)),
868868
(SELP_b32rr $a, $b, $p)>;
869869
}
870870

871+
def : Pat<(v2f32 (select i1:$p, v2f32:$a, v2f32:$b)),
872+
(SELP_b64rr $a, $b, $p)>;
873+
871874
//-----------------------------------
872875
// Test Instructions
873876
//-----------------------------------

0 commit comments

Comments
 (0)