mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Re-committing the last bit of change. It shouldn't break PPC this time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
519ea2abc9
commit
2216d8ad2f
@ -2137,10 +2137,9 @@ public:
|
||||
Code += ", Tmp" + utostr(i + ResNo);
|
||||
emitCheck(Code + ")");
|
||||
|
||||
// This breaks ppc
|
||||
//for (unsigned i = 0; i < NumRes; ++i)
|
||||
// emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" +
|
||||
// utostr(i+ResNo) + ");");
|
||||
for (unsigned i = 0; i < NumRes; ++i)
|
||||
emitCode("Tmp" + utostr(i+ResNo) + " = Select(Tmp" +
|
||||
utostr(i+ResNo) + ");");
|
||||
|
||||
TmpNo = ResNo + NumRes;
|
||||
} else {
|
||||
@ -2885,6 +2884,10 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
|
||||
<< " case ISD::EntryToken: // These leaves remain the same.\n"
|
||||
<< " case ISD::BasicBlock:\n"
|
||||
<< " case ISD::Register:\n"
|
||||
<< " case ISD::TargetConstant:\n"
|
||||
<< " case ISD::TargetConstantPool:\n"
|
||||
<< " case ISD::TargetFrameIndex:\n"
|
||||
<< " case ISD::TargetGlobalAddress:\n"
|
||||
<< " return N;\n"
|
||||
<< " case ISD::AssertSext:\n"
|
||||
<< " case ISD::AssertZext: {\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user