Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 7a2c003

Browse files
Krzysztof Parzyszekarielb1
authored andcommitted
[Hexagon] Fix "LowerFormalArguments emitted a value with the wrong type!" assertion
Patch by Michael Wu. Differential Revision: https://reviews.llvm.org/D31999 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300198 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b6b4e81 commit 7a2c003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/Hexagon/HexagonISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ SDValue HexagonTargetLowering::LowerFormalArguments(
12341234
InVals.push_back(FIN);
12351235
} else {
12361236
InVals.push_back(
1237-
DAG.getLoad(VA.getLocVT(), dl, Chain, FIN, MachinePointerInfo()));
1237+
DAG.getLoad(VA.getValVT(), dl, Chain, FIN, MachinePointerInfo()));
12381238
}
12391239
}
12401240
}

0 commit comments

Comments
 (0)