mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Rollback changes to take a different tack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -542,6 +542,10 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
||||
|
||||
bool DarwinAsmPrinter::doInitialization(Module &M) {
|
||||
#if 1
|
||||
if (Subtarget.isGigaProcessor())
|
||||
O << "\t.machine ppc970\n";
|
||||
#else
|
||||
const std::string &CPU = Subtarget.getCPU();
|
||||
|
||||
if (CPU != "generic")
|
||||
@ -554,6 +558,7 @@ bool DarwinAsmPrinter::doInitialization(Module &M) {
|
||||
O << "\t.machine ppc7400\n";
|
||||
else
|
||||
O << "\t.machine ppc\n";
|
||||
#endif
|
||||
|
||||
AsmPrinter::doInitialization(M);
|
||||
|
||||
|
Reference in New Issue
Block a user