[PATCH] D81268: [Alignment][NFC] Migrate CallingConv tablegen code
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 09:25:53 PDT 2020
gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is a follow up on D81196 <https://reviews.llvm.org/D81196>, fixing one more call site.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81268
Files:
llvm/utils/TableGen/CallingConvEmitter.cpp
Index: llvm/utils/TableGen/CallingConvEmitter.cpp
===================================================================
--- llvm/utils/TableGen/CallingConvEmitter.cpp
+++ llvm/utils/TableGen/CallingConvEmitter.cpp
@@ -199,9 +199,10 @@
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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81268.268836.patch
Type: text/x-patch
Size: 716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/f6da5a9b/attachment.bin>
More information about the llvm-commits
mailing list