Skip to content

Commit 0fe3d55

Browse files
committed
support select v2f32
1 parent 62a19b3 commit 0fe3d55

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
@@ -820,6 +820,9 @@ def : Pat<(vt (select i1:$p, vt:$a, vt:$b)),
820820
(SELP_b32rr $a, $b, $p)>;
821821
}
822822

823+
def : Pat<(v2f32 (select i1:$p, v2f32:$a, v2f32:$b)),
824+
(SELP_b64rr $a, $b, $p)>;
825+
823826
//-----------------------------------
824827
// Test Instructions
825828
//-----------------------------------

0 commit comments

Comments
 (0)