diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-07-11 17:19:51 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-07-11 17:19:51 +0000 |
commit | 09d73c0305ef23260e2ba30958ab1bcc9539418f (patch) | |
tree | 9d110d47c121c70ff1f39a5e3fd13181a8af4215 /llvm/lib/Target/Alpha/AlphaISelLowering.cpp | |
parent | 03b274911fd75e514e084f1b3bb56178f950fe2d (diff) | |
download | bcm5719-llvm-09d73c0305ef23260e2ba30958ab1bcc9539418f.tar.gz bcm5719-llvm-09d73c0305ef23260e2ba30958ab1bcc9539418f.zip |
Assert when TLS is not implemented.
llvm-svn: 39737
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp index d70fd2aab31..d4777b2c5f4 100644 --- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp @@ -122,6 +122,7 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) setOperationAction(ISD::GlobalAddress, MVT::i64, Custom); setOperationAction(ISD::ConstantPool, MVT::i64, Custom); setOperationAction(ISD::ExternalSymbol, MVT::i64, Custom); + setOperationAction(ISD::GlobalTLSAddress, MVT::i64, Custom); setOperationAction(ISD::VASTART, MVT::Other, Custom); setOperationAction(ISD::VAEND, MVT::Other, Expand); @@ -424,6 +425,8 @@ SDOperand AlphaTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { SDOperand Lo = DAG.getNode(AlphaISD::GPRelLo, MVT::i64, CPI, Hi); return Lo; } + case ISD::GlobalTLSAddress: + assert(0 && "TLS not implemented for Alpha."); case ISD::GlobalAddress: { GlobalAddressSDNode *GSDN = cast<GlobalAddressSDNode>(Op); GlobalValue *GV = GSDN->getGlobal(); |