Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.394 -> 1.395 --- Log message: X86 TLS: Implement review feedback. --- Diffs of the changes: (+3 -2) X86ISelLowering.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.394 llvm/lib/Target/X86/X86ISelLowering.cpp:1.395 --- llvm/lib/Target/X86/X86ISelLowering.cpp:1.394 Fri Apr 20 16:38:10 2007 +++ llvm/lib/Target/X86/X86ISelLowering.cpp Sat Apr 21 15:56:26 2007 @@ -3004,8 +3004,9 @@ SDOperand X86TargetLowering::LowerGlobalTLSAddress(SDOperand Op, SelectionDAG &DAG) { // TODO: implement the "local dynamic" model - // TODO: implement the "initial exec"model for pic executables - assert(!Subtarget->is64Bit() && "TLS not implemented for X86_64"); + // TODO: implement the "initial exec"model for pic executables + assert(!Subtarget->is64Bit() && Subtarget->isTargetELF() && + "TLS not implemented for non-ELF and 64-bit targets"); GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); // If the relocation model is PIC, use the "General Dynamic" TLS Model, // otherwise use the "Local Exec"TLS Model _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits