Skip to content

Commit 4ec1e39

Browse files
committed
support select v2f32
1 parent 53df023 commit 4ec1e39

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
@@ -813,6 +813,9 @@ def : Pat<(vt (select i1:$p, vt:$a, vt:$b)),
813813
(SELP_b32rr $a, $b, $p)>;
814814
}
815815

816+
def : Pat<(v2f32 (select i1:$p, v2f32:$a, v2f32:$b)),
817+
(SELP_b64rr $a, $b, $p)>;
818+
816819
//-----------------------------------
817820
// Test Instructions
818821
//-----------------------------------

0 commit comments

Comments
 (0)