Page MenuHomePhabricator

[mips] Support micromips attribute passed by front-end
ClosedPublic

Authored by atanasyan on May 19 2017, 10:15 AM.

Details

Summary

This patch adds handling of the micromips and nomicromips attributes passed by front-end. The patch depends on D33363.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan created this revision.May 19 2017, 10:15 AM
sdardis accepted this revision.May 22 2017, 3:28 AM

LGTM.

This revision is now accepted and ready to land.May 22 2017, 3:28 AM

You should also add a test case to test/CodeGen/Mips/ showing that this attribute sets the assembler into micromips mode for some trivial function, along with another function without micromips being generated as non micromips code.

This revision was automatically updated to reflect the committed changes.