This is an archive of the discontinued LLVM Phabricator instance.

[mips] EABI CodeGen is completely untested. Remove it.
ClosedPublic

Authored by dsanders on Jun 2 2016, 5:06 AM.

Details

Summary

There are no tests* and no EABI buildbots.

  • There is a single MIPS16 test using a mips*-gnueabi triple but this test doesn't test EABI and the triple doesn't cause EABI to be used.

Diff Detail

Repository
rL LLVM

Event Timeline

dsanders updated this revision to Diff 59366.Jun 2 2016, 5:06 AM
dsanders retitled this revision from to [mips] EABI CodeGen is completely untested. Remove it..
dsanders updated this object.
dsanders added a reviewer: sdardis.
dsanders added a subscriber: llvm-commits.
sdardis edited edge metadata.Jun 2 2016, 8:11 AM

LGTM.

I think it's already bitrotted, as a simple test program has crashed during LowerFormalArguments (I reverted your corresponding clang patch locally) to test it quickly. If it can't compile:

extern int g(int);
extern int k;

int f (int a, int b) {
  return g(a) + g(b) + g(k);
}

and there's no outstanding bug reports we may as well remove it altogether. We can bring it back if there's interest/requests for it.

LGTM.

I think it's already bitrotted, as a simple test program has crashed during LowerFormalArguments (I reverted your corresponding clang patch locally) to test it quickly. If it can't compile:

extern int g(int);
extern int k;

int f (int a, int b) {
  return g(a) + g(b) + g(k);
}

and there's no outstanding bug reports we may as well remove it altogether. We can bring it back if there's interest/requests for it.

sdardis accepted this revision.Jun 2 2016, 8:11 AM
sdardis edited edge metadata.
This revision is now accepted and ready to land.Jun 2 2016, 8:11 AM
dsanders updated this revision to Diff 59503.Jun 3 2016, 2:03 AM
dsanders edited edge metadata.

Stop the backend determining the ABI from the CPU. The API user should
work this out.
Make the calls to getABIVariant() unconditional.

dsanders updated this revision to Diff 59506.Jun 3 2016, 2:05 AM

Revert last update. It was meant for D20916 not D20906.

This revision was automatically updated to reflect the committed changes.