Back out r166591, not sure why this made it through since I cancelled the command...
[oota-llvm.git] / lib / CodeGen / SelectionDAG / LegalizeDAG.cpp
index dd8edc2836eede830285dc7cbfe270df3796a083..abf40b77a18f080d84759d686867f92c396f13e8 100644 (file)
@@ -2068,7 +2068,7 @@ SelectionDAGLegalize::ExpandDivRemLibCall(SDNode *Node,
   // Also pass the return address of the remainder.
   SDValue FIPtr = DAG.CreateStackTemporary(RetVT);
   Entry.Node = FIPtr;
-  Entry.Ty = RetTy->getPointerTo(0);
+  Entry.Ty = RetTy->getPointerTo();
   Entry.isSExt = isSigned;
   Entry.isZExt = !isSigned;
   Args.push_back(Entry);