mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
revert 93934, removing the MCAsmInfo endianness bit. I can't
stomache MCAsmInfo having this, and I found a better solution to this layering issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,8 +22,8 @@ extern "C" void LLVMInitializeMipsTarget() {
|
||||
// Register the target.
|
||||
RegisterTargetMachine<MipsTargetMachine> X(TheMipsTarget);
|
||||
RegisterTargetMachine<MipselTargetMachine> Y(TheMipselTarget);
|
||||
RegisterAsmInfo<MipsBEMCAsmInfo> A(TheMipsTarget);
|
||||
RegisterAsmInfo<MipsLEMCAsmInfo> B(TheMipselTarget);
|
||||
RegisterAsmInfo<MipsMCAsmInfo> A(TheMipsTarget);
|
||||
RegisterAsmInfo<MipsMCAsmInfo> B(TheMipselTarget);
|
||||
}
|
||||
|
||||
// DataLayout --> Big-endian, 32-bit pointer/ABI/alignment
|
||||
@@ -60,7 +60,8 @@ MipselTargetMachine(const Target &T, const std::string &TT,
|
||||
// Install an instruction selector pass using
|
||||
// the ISelDag to gen Mips code.
|
||||
bool MipsTargetMachine::
|
||||
addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel) {
|
||||
addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel)
|
||||
{
|
||||
PM.add(createMipsISelDag(*this));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user