mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
Add support for brcond
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
feab2f837c
commit
993ff1ce4a
@ -131,6 +131,10 @@ def SDTBr : SDTypeProfile<0, 1, [ // br
|
||||
SDTCisVT<0, OtherVT>
|
||||
]>;
|
||||
|
||||
def SDTBrcond : SDTypeProfile<0, 2, [ // brcond
|
||||
SDTCisInt<0>, SDTCisVT<1, OtherVT>
|
||||
]>;
|
||||
|
||||
def SDTRet : SDTypeProfile<0, 0, []>; // ret
|
||||
|
||||
def SDTReadPort : SDTypeProfile<1, 1, [ // readport
|
||||
@ -260,6 +264,7 @@ def setcc : SDNode<"ISD::SETCC" , SDTSetCC>;
|
||||
def select : SDNode<"ISD::SELECT" , SDTSelect>;
|
||||
def selectcc : SDNode<"ISD::SELECT_CC" , SDTSelectCC>;
|
||||
|
||||
def brcond : SDNode<"ISD::BRCOND" , SDTBrcond, [SDNPHasChain]>;
|
||||
def br : SDNode<"ISD::BR" , SDTBr, [SDNPHasChain]>;
|
||||
def ret : SDNode<"ISD::RET" , SDTRet, [SDNPHasChain]>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user