[mips] Correct testcase for .set at=$reg and emit the new warnings for numeric regist...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 25 Mar 2014 11:16:03 +0000 (11:16 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 25 Mar 2014 11:16:03 +0000 (11:16 +0000)
commitc7e1663c24a5fb8b764ac82325d413d91f718366
treea8880b27ebde5218f3ea9ec16e44bc46ec5a8c3a
parentc141b331b90696f85ebddf8d3d04e1143738b271
[mips] Correct testcase for .set at=$reg and emit the new warnings for numeric registers too.

Summary:
Remove the XFAIL added in my previous commit and correct the test such that
it correctly tests the expansion of the assembler temporary.

Also added a test to check that $at is always $1 when written by the
user.

Corrected the new assembler temporary warnings so that they are emitted for
numeric registers too.

Differential Revision: http://llvm-reviews.chandlerc.com/D3169

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/set-at-directive-explicit-at.s [new file with mode: 0644]
test/MC/Mips/set-at-directive.s