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 | 78c3160526f49bddf6040a23a73594720c264a5c (patch) | |
| tree | 04cacd4a984c7366e7a609325d82533ab5f92ea9 /utils | |
| parent | 8485b631f9839c0ccbf0625e73ac344983bbe3ac (diff) | |
| download | external_llvm-78c3160526f49bddf6040a23a73594720c264a5c.zip external_llvm-78c3160526f49bddf6040a23a73594720c264a5c.tar.gz external_llvm-78c3160526f49bddf6040a23a73594720c264a5c.tar.bz2 | |
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')
| -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 a14be0b..5879c41 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"); |
