[PATCH] D81268: [Alignment][NFC] Migrate CallingConv tablegen code
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 00:30:13 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2aa483016de0: [Alignment][NFC] Migrate CallingConv tablegen code (authored by gchatelet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81268/new/
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.269109.patch
Type: text/x-patch
Size: 716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200608/0bd97c13/attachment-0001.bin>
More information about the llvm-commits
mailing list