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)
commitbe867971cb0e98d51a6c303bc75e9f0737ad1d95
treec23b0b56560da4f26a44d8f1f255d0cd81caf79a
parent8c0a8e5f6d9b5622f4af07815b99601962e82d39
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.

llvm-svn: 174885
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp