This is an archive of the discontinued LLVM Phabricator instance.

DAG: Remove redundant version of getRegisterTypeForCallingConv
ClosedPublic

Authored by arsenm on May 23 2018, 1:27 PM.

Details

Reviewers
bogner
sdardis
Summary

There seems to be no real reason to have these separate copies.
The existing implementations just copy each other for x86.
For Mips there is a subtle difference, which is just a bug
since it changes based on the context where which one was called.
Dropping this version, all tests pass. If I try to merge them
to match the removed version, a test fails.

Diff Detail

Event Timeline

arsenm created this revision.May 23 2018, 1:27 PM
sdardis accepted this revision.May 28 2018, 8:15 AM

LGTM. I must have duplicated that hook during development.

This revision is now accepted and ready to land.May 28 2018, 8:15 AM
arsenm closed this revision.May 29 2018, 10:46 AM

r333440

If you include the line "Differential Revision: https://reviews.llvm.org/D<number>" in the commit message, Phab will automatically close that review + update the diff if there was any changes between the posted version and the committed version.