diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-01-17 03:57:34 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-01-17 03:57:34 +0000 |
commit | 962cff0c085e4f5b58e67ee73e5a82a3b2df6245 (patch) | |
tree | 5271289af680b1bf5e463babae22550748ab68ff /test/CodeGen/PowerPC/ppc64-anyregcc.ll | |
parent | aaac99269f5ca872db7b1163a29d83304852f952 (diff) |
[PowerPC] Don't list R11 as a patchpoint scratch register
R11's status is the same under both the PPC64 ELF V1 and V2 ABIs: it is
reserved for use as an "environment pointer" for compilation models that
require such a thing. We don't, we also don't need a second scratch register,
and because we support only "local" patchpoint call targets, we might as well
let R11 be used for anyregcc patchpoints.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ppc64-anyregcc.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ppc64-anyregcc.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/ppc64-anyregcc.ll b/test/CodeGen/PowerPC/ppc64-anyregcc.ll index 7cd3c4b3820..8b4cec5dabd 100644 --- a/test/CodeGen/PowerPC/ppc64-anyregcc.ll +++ b/test/CodeGen/PowerPC/ppc64-anyregcc.ll @@ -26,9 +26,9 @@ target triple = "powerpc64-unknown-linux-gnu" ; CHECK-NEXT: .quad property_access3 ; CHECK-NEXT: .quad 128 ; CHECK-NEXT: .quad anyreg_test1 -; CHECK-NEXT: .quad 160 +; CHECK-NEXT: .quad 144 ; CHECK-NEXT: .quad anyreg_test2 -; CHECK-NEXT: .quad 160 +; CHECK-NEXT: .quad 144 ; CHECK-NEXT: .quad patchpoint_spilldef ; CHECK-NEXT: .quad 256 ; CHECK-NEXT: .quad patchpoint_spillargs |