This is an archive of the discontinued LLVM Phabricator instance.

[mips][test] Check if the subtarget can support the requested triple width
ClosedPublic

Authored by mstojanovic on Nov 8 2019, 10:26 AM.

Details

Summary

When a 64-bit triple is used emit an error if the CPU only supports 32-bit code.

Diff Detail

Event Timeline

mstojanovic created this revision.Nov 8 2019, 10:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2019, 10:26 AM
atanasyan added inline comments.Nov 8 2019, 10:13 PM
llvm/test/CodeGen/Mips/cpus-no-mips64.ll
3

If you do not plan to add more "check prefixes" to this test, we can use default prefix CHECK and make RUN lines shorter.

This revision is now accepted and ready to land.Nov 12 2019, 7:36 AM
This revision was automatically updated to reflect the committed changes.