diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-03 08:13:56 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-03 08:13:56 +0000 |
commit | 4ab15535e7028a48d75c9d08ed57e9b3b05b1f53 (patch) | |
tree | 04cacd4a984c7366e7a609325d82533ab5f92ea9 /utils/TableGen | |
parent | 80cb8aa86282281ceef49638f11e07d62b0d2ee3 (diff) | |
download | llvm-4ab15535e7028a48d75c9d08ed57e9b3b05b1f53.tar.gz llvm-4ab15535e7028a48d75c9d08ed57e9b3b05b1f53.tar.bz2 llvm-4ab15535e7028a48d75c9d08ed57e9b3b05b1f53.tar.xz |
Add 'Indirect' LocInfo class and use to pass __m128 on win64. Also minore fixes here and there (mostly __m64).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/CallingConvEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/CallingConvEmitter.cpp b/utils/TableGen/CallingConvEmitter.cpp index a14be0b76f..5879c417e4 100644 --- a/utils/TableGen/CallingConvEmitter.cpp +++ b/utils/TableGen/CallingConvEmitter.cpp @@ -186,6 +186,10 @@ void CallingConvEmitter::EmitAction(Record *Action, Record *DestTy = Action->getValueAsDef("DestTy"); O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; + } else if (Action->isSubClassOf("CCPassIndirect")) { + Record *DestTy = Action->getValueAsDef("DestTy"); + O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; + O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; } else if (Action->isSubClassOf("CCPassByVal")) { int Size = Action->getValueAsInt("Size"); int Align = Action->getValueAsInt("Align"); |