AArch64: fix build on some MSVC versions
authorTim Northover <Tim.Northover@arm.com>
Mon, 11 Feb 2013 14:25:52 +0000 (14:25 +0000)
committerTim Northover <Tim.Northover@arm.com>
Mon, 11 Feb 2013 14:25:52 +0000 (14:25 +0000)
commit716d26b2ce310e852a78b25ec94db031378133bb
treee1258ecb8fef35a2a82fc95ceaeca735de75550c
parentfd980723b66f9eaa3d4bd43fb00e541de1c9853f
AArch64: fix build on some MSVC versions

This does two things:

It removes a call to abs() which may have "long long" parameter on Windows,
which is not necessarily available in C++03.

It also corrects the signedness of Amount, which was relying on
implementation-defined conversions previously.

Code was already tested (albeit in an implemnetation defined way) so no extra
tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64RegisterInfo.cpp