[mips] Warn when crc, ginv, virt flags are used with too old revision
authorVladimir Stefanovic <vladimir.stefanovic@rt-rk.com>
Wed, 4 Jul 2018 19:26:31 +0000 (19:26 +0000)
committerVladimir Stefanovic <vladimir.stefanovic@rt-rk.com>
Wed, 4 Jul 2018 19:26:31 +0000 (19:26 +0000)
commit87b60a0e008026743d6bfb3d5286c0c5a7a073de
tree8df2632d7a3bd1642a6e449a619d580b5610f48c
parentcb4f0c5c07af1ce096c1609bd6576a0aee57700a
[mips] Warn when crc, ginv, virt flags are used with too old revision

CRC and GINV ASE require revision 6, Virtualization requires revision 5.
Print a warning when revision is older than required.

Differential Revision: https://reviews.llvm.org/D48843

llvm-svn: 336296
llvm/lib/Target/Mips/MipsSubtarget.cpp
llvm/lib/Target/Mips/MipsSubtarget.h
llvm/test/CodeGen/Mips/ase_warnings.ll [moved from llvm/test/CodeGen/Mips/dsp_msa_warning.ll with 50% similarity]