mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[Alignment][NFC] Migrate CallingConv tablegen code
Summary: This is a follow up on D81196, fixing one more call site. Reviewers: courbet Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81268
This commit is contained in:
parent
ad2f7fe780
commit
c5c79e3df8
@ -199,9 +199,10 @@ void CallingConvEmitter::EmitAction(Record *Action,
|
||||
if (Align)
|
||||
O << "Align(" << Align << ")";
|
||||
else
|
||||
O << "\n" << IndentStr
|
||||
O << "\n"
|
||||
<< IndentStr
|
||||
<< " State.getMachineFunction().getDataLayout()."
|
||||
"getABITypeAlignment(EVT(LocVT).getTypeForEVT(State.getContext()"
|
||||
"getABITypeAlign(EVT(LocVT).getTypeForEVT(State.getContext()"
|
||||
"))";
|
||||
O << ");\n" << IndentStr
|
||||
<< "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset"
|
||||
|
Loading…
Reference in New Issue
Block a user