Dsp and dspr2 require MIPS revision 2, while msa requires revision 5. Adding warnings for cases when these flags are used with earlier revision.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/Mips/MipsSubtarget.cpp | ||
---|---|---|
130–131 | Hoist this to a static member variable of MipsSubtarget, rather than a function static variable. | |
132–164 | Change the message of "the 'msa' extension" to "the 'msa' ASE". | |
145–149 | Change the message of "the 'msa' extension" to "the 'msa' ASE". | |
155 | See my comment about DspWarningPrinted. | |
test/CodeGen/Mips/dsp_msa_warning.ll | ||
3–30 | Check prefixes should be in capital letters, to ensure they stand out. |
Hoist this to a static member variable of MipsSubtarget, rather than a function static variable.