mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-12 15:30:46 +00:00
[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
This commit is contained in:
parent
cf2d2611cf
commit
db734f0a3d
@ -1254,7 +1254,7 @@ SDValue HexagonTargetLowering::LowerFormalArguments(
|
||||
InVals.push_back(FIN);
|
||||
} else {
|
||||
InVals.push_back(
|
||||
DAG.getLoad(VA.getLocVT(), dl, Chain, FIN, MachinePointerInfo()));
|
||||
DAG.getLoad(VA.getValVT(), dl, Chain, FIN, MachinePointerInfo()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user