summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-08-11 09:03:33 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-08-11 09:03:33 +0000
commit81b645a76b2129f9645273e7e6a13c458d0ddcf9 (patch)
tree460bdd0dce45d60208793a2f6d2b9255971a36ae /llvm/lib/Target/Alpha
parent0d3a754ae80c464cf40afa9154d87c13d2d8372c (diff)
downloadbcm5719-llvm-81b645a76b2129f9645273e7e6a13c458d0ddcf9.tar.gz
bcm5719-llvm-81b645a76b2129f9645273e7e6a13c458d0ddcf9.zip
CALLSEQ_* produces chain even if that's not needed.
llvm-svn: 29603
Diffstat (limited to 'llvm/lib/Target/Alpha')
-rw-r--r--llvm/lib/Target/Alpha/AlphaInstrInfo.td6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.td b/llvm/lib/Target/Alpha/AlphaInstrInfo.td
index 164a1082918..2589cca26b7 100644
--- a/llvm/lib/Target/Alpha/AlphaInstrInfo.td
+++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.td
@@ -33,8 +33,10 @@ def retflag : SDNode<"AlphaISD::RET_FLAG", SDTRet,
// These are target-independent nodes, but have target-specific formats.
def SDT_AlphaCallSeq : SDTypeProfile<0, 1, [ SDTCisVT<0, i64> ]>;
-def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_AlphaCallSeq,[SDNPHasChain]>;
-def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_AlphaCallSeq,[SDNPHasChain]>;
+def callseq_start : SDNode<"ISD::CALLSEQ_START", SDT_AlphaCallSeq,
+ [SDNPHasChain, SDNPOutFlag]>;
+def callseq_end : SDNode<"ISD::CALLSEQ_END", SDT_AlphaCallSeq,
+ [SDNPHasChain, SDNPOutFlag]>;
//********************
//Paterns for matching
OpenPOWER on IntegriCloud