mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Increase ISD::ParamFlags to 64 bits. Increase the ByValSize
field to 32 bits, thus enabling correct handling of ByVal structs bigger than 0x1ffff. Abstract interface a bit. Fixes gcc.c-torture/execute/pr23135.c and gcc.c-torture/execute/pr28982b.c in gcc testsuite (were ICE'ing on ppc32, quietly producing wrong code on x86-32.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -30,7 +30,7 @@ void CallingConvEmitter::run(std::ostream &O) {
|
||||
<< std::string(CCs[i]->getName().size()+13, ' ')
|
||||
<< "MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo,\n"
|
||||
<< std::string(CCs[i]->getName().size()+13, ' ')
|
||||
<< "unsigned ArgFlags, CCState &State);\n";
|
||||
<< "ISD::ParamFlags::ParamFlagsTy ArgFlags, CCState &State);\n";
|
||||
}
|
||||
|
||||
// Emit each calling convention description in full.
|
||||
@@ -48,7 +48,7 @@ void CallingConvEmitter::EmitCallingConv(Record *CC, std::ostream &O) {
|
||||
<< std::string(CC->getName().size()+13, ' ')
|
||||
<< "MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo,\n"
|
||||
<< std::string(CC->getName().size()+13, ' ')
|
||||
<< "unsigned ArgFlags, CCState &State) {\n";
|
||||
<< "ISD::ParamFlags::ParamFlagsTy ArgFlags, CCState &State) {\n";
|
||||
// Emit all of the actions, in order.
|
||||
for (unsigned i = 0, e = CCActions->getSize(); i != e; ++i) {
|
||||
O << "\n";
|
||||
|
||||
Reference in New Issue
Block a user