Temporarily work around new address lowering while I figure out what
authorEric Christopher <echristo@apple.com>
Wed, 22 Sep 2010 20:42:08 +0000 (20:42 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 22 Sep 2010 20:42:08 +0000 (20:42 +0000)
needs to happen for darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114577 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index b3e409f0ea3a46ba84966e30b81b5ddb617b054e..018ea9e8f6a03524c2961ddc5d7419c61a7dc865 100644 (file)
@@ -1149,7 +1149,8 @@ bool X86DAGToDAGISel::SelectAddr(SDNode *Parent, SDValue N, SDValue &Base,
       // that are not a MemSDNode, and thus don't have proper addrspace info.
       Parent->getOpcode() != ISD::PREFETCH &&
       Parent->getOpcode() != ISD::INTRINSIC_W_CHAIN && // unaligned loads, fixme
-      Parent->getOpcode() != ISD::INTRINSIC_VOID) { // nontemporal stores.
+      Parent->getOpcode() != ISD::INTRINSIC_VOID && // nontemporal stores
+      Parent->getOpcode() != X86ISD::TLSCALL) { // Fixme
     unsigned AddrSpace =
       cast<MemSDNode>(Parent)->getPointerInfo().getAddrSpace();
     // AddrSpace 256 -> GS, 257 -> FS.