Skip to content

Commit 7601e31

Browse files
committed
support select v2f32
1 parent 43969f1 commit 7601e31

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
@@ -780,6 +780,9 @@ def : Pat<(vt (select i1:$p, vt:$a, vt:$b)),
780780
(SELP_b32rr $a, $b, $p)>;
781781
}
782782

783+
def : Pat<(v2f32 (select i1:$p, v2f32:$a, v2f32:$b)),
784+
(SELP_b64rr $a, $b, $p)>;
785+
783786
//-----------------------------------
784787
// Test Instructions
785788
//-----------------------------------

0 commit comments

Comments
 (0)