[AArch64] Remove check for Darwin that was needed to decide if x18 should
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 27 Jul 2015 19:18:47 +0000 (19:18 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 27 Jul 2015 19:18:47 +0000 (19:18 +0000)
commit6e208e96cca9af7a61825d848ca7c8a3dafbb3c5
treefd0c4e6f4eef962b6f39f2965971e8026ed14b1d
parenteb30d38ac8cacfe3379d58e33771ebb87919ee2c
[AArch64] Remove check for Darwin that was needed to decide if x18 should
be reserved.

The decision to reserve x18 is going to be made solely by the front-end,
so it isn't necessary to check if the OS is Darwin in the backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243308 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64RegisterInfo.cpp
test/CodeGen/AArch64/arm64-platform-reg.ll
test/CodeGen/AArch64/arm64-stackmap.ll