[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td

Anton Korobeynikov asl at math.spbu.ru
Sat Apr 21 03:20:59 PDT 2007


> +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");
> +  GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
Well, it seems assert should be:
assert(!Subtarget->is64Bit() && Subtarget->isTargetELF() && "TLS not
implemented for non-ELF and 64-bit targets");

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-commits mailing list