[mips] Check for the correct error message in tests for interrupt attributes.
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Mon, 26 Oct 2015 14:24:30 +0000 (14:24 +0000)
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Mon, 26 Oct 2015 14:24:30 +0000 (14:24 +0000)
commit2df12188c55cf8e764407b32834d820fbb6acada
treefb6e8d202afbbd648861094fb0d3d688f8a34c94
parentbf7b3fed5c75e7256ac395c01a7770edb20735e8
[mips] Check for the correct error message in tests for interrupt attributes.

Instead of XFAIL-ing the tests with the wrong usage of the "interrupt"
attribute, we should check that we emit the correct error messages to
the user.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251295 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsSEFrameLowering.cpp
test/CodeGen/Mips/interrupt-attr-64-error.ll [new file with mode: 0644]
test/CodeGen/Mips/interrupt-attr-64-fail.ll [deleted file]
test/CodeGen/Mips/interrupt-attr-args-error.ll [new file with mode: 0644]
test/CodeGen/Mips/interrupt-attr-args-fail.ll [deleted file]
test/CodeGen/Mips/interrupt-attr-error.ll [new file with mode: 0644]
test/CodeGen/Mips/interrupt-attr-fail.ll [deleted file]