mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
add selectcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d717b19933
commit
3aed79eadb
@ -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…
x
Reference in New Issue
Block a user