mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
add selectcc
llvm-svn: 24662
This commit is contained in:
parent
6d4db7c732
commit
6f047565cb
@ -119,6 +119,11 @@ def SDTSelect : SDTypeProfile<1, 3, [ // select
|
||||
SDTCisInt<1>, SDTCisSameAs<0, 2>, SDTCisSameAs<2, 3>
|
||||
]>;
|
||||
|
||||
def SDTSelectCC : SDTypeProvile<1, 5, [ // select_cc
|
||||
SDTCisSameAs<1, 2>, SDTCisSameAs<3, 4>, SDTCisSameAs<0, 3>,
|
||||
SDTCisVT<5, OtherVT>
|
||||
]>;
|
||||
|
||||
def SDTBr : SDTypeProfile<0, 1, [ // br
|
||||
SDTCisVT<0, OtherVT>
|
||||
]>;
|
||||
@ -226,6 +231,7 @@ def fp_to_uint : SDNode<"ISD::FP_TO_UINT" , SDTFPToIntOp>;
|
||||
|
||||
def setcc : SDNode<"ISD::SETCC" , SDTSetCC>;
|
||||
def select : SDNode<"ISD::SELECT" , SDTSelect>;
|
||||
def selectcc : SDNode<"ISD::SELECT_CC" , SDTSelectCC>;
|
||||
|
||||
def br : SDNode<"ISD::BR" , SDTBr, [SDNPHasChain]>;
|
||||
def brcond : SDNode<"ISD::BRCOND" , SDTBrCond, [SDNPHasChain]>;
|
||||
|
Loading…
Reference in New Issue
Block a user