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
- Repository
- rL LLVM
Event Timeline
lib/Target/Mips/MipsSubtarget.cpp | ||
---|---|---|
130–131 ↗ | (On Diff #124384) | Hoist this to a static member variable of MipsSubtarget, rather than a function static variable. |
132–164 ↗ | (On Diff #124384) | Change the message of "the 'msa' extension" to "the 'msa' ASE". |
145–149 ↗ | (On Diff #124384) | Change the message of "the 'msa' extension" to "the 'msa' ASE". |
155 ↗ | (On Diff #124384) | See my comment about DspWarningPrinted. |
test/CodeGen/Mips/dsp_msa_warning.ll | ||
2–29 ↗ | (On Diff #124384) | Check prefixes should be in capital letters, to ensure they stand out. |