[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)
commitaf3ec2cfd49fcde2a8ba44e2bd1557bc8d2adab8
tree54c47ed5a5b94156df68a18ad5bacb28038994fb
parent659d53e897318ecbce1a5dc620024a8e78bd5bcf
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/set-at-directive-explicit-at.s