[mips] [IAS] Improve warning for using AT with .set noat.
authorToma Tabacu <toma.tabacu@imgtec.com>
Mon, 27 Apr 2015 14:05:04 +0000 (14:05 +0000)
committerToma Tabacu <toma.tabacu@imgtec.com>
Mon, 27 Apr 2015 14:05:04 +0000 (14:05 +0000)
commitd9d344b48584727c2690cce89f320ad0a09f659c
tree90d72005f1b76ffd61fc563a95e2544c3602af09
parent6bf4da02c13673bfd34f447a4b8a68905e05dea7
[mips] [IAS] Improve warning for using AT with .set noat.

Summary:
Changed the warning message to show the current value of $at, similar to what clang does for typedef's, and renamed warnIfAssemblerTemporary to a more descriptive name.

I also changed the type of variables which store registers from int to unsigned, updated the relevant test and tried to make the related comments clearer.

Reviewers: dsanders

Reviewed By: dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8479

llvm-svn: 235881
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/set-at-directive-explicit-at.s