Skip to content

Commit b10ba65

Browse files
committed
Use 32bit target
1 parent 6f83b72 commit b10ba65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11852,7 +11852,7 @@ void SelectionDAGISel::LowerArguments(const Function &F) {
1185211852
if (NoFPClass != fcNone) {
1185311853
SDValue SDNoFPClass =
1185411854
DAG.getTargetConstant(static_cast<uint64_t>(NoFPClass), dl,
11855-
TLI->getPointerTy(DAG.getDataLayout()));
11855+
EVT::getIntegerVT(*DAG.getContext(), 32));
1185611856
Res = DAG.getNode(ISD::AssertNoFPClass, dl, Res.getValueType(), Res,
1185711857
SDNoFPClass);
1185811858
}

0 commit comments

Comments
 (0)