summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-15 18:02:56 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-15 18:02:56 +0000
commitb79e30cc9e8ce8c6beacbc38a7e27d33ba07fd66 (patch)
tree66b3cda296885b021265a5fa4a490d1439cc7941 /test/CodeGen/SystemZ
parentf60ceac9cd7230e0d5ff911fced396f6b5d8c815 (diff)
downloadllvm-b79e30cc9e8ce8c6beacbc38a7e27d33ba07fd66.tar.gz
llvm-b79e30cc9e8ce8c6beacbc38a7e27d33ba07fd66.tar.bz2
llvm-b79e30cc9e8ce8c6beacbc38a7e27d33ba07fd66.tar.xz
Remove custom allocation orders in SystemZ.
Note that this actually changes code generation, and someone who understands this target better should check the changes. - R12Q is now allocatable. I think it was omitted from the allocation order by mistake since it isn't reserved. It as apparently used as a GOT pointer sometimes, and it should probably be reserved if that is the case. - The GR64 registers are allocated in a different order now. The register allocator will automatically put the CSRs last. There were other changes to the order that may have been significant. The test fix is because r0 and r1 swapped places in the allocation order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ')
-rw-r--r--test/CodeGen/SystemZ/11-BSwap.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/SystemZ/11-BSwap.ll b/test/CodeGen/SystemZ/11-BSwap.ll
index b170a8044a..8b0c1092ca 100644
--- a/test/CodeGen/SystemZ/11-BSwap.ll
+++ b/test/CodeGen/SystemZ/11-BSwap.ll
@@ -12,7 +12,7 @@ define i16 @foo(i16 zeroext %a) zeroext {
define i32 @foo2(i32 zeroext %a) zeroext {
; CHECK: foo2:
-; CHECK: lrvr %r1, %r2
+; CHECK: lrvr [[R1:%r.]], %r2
%res = tail call i32 @llvm.bswap.i32(i32 %a)
ret i32 %res
}
@@ -32,7 +32,7 @@ define i16 @foo4(i16* %b) zeroext {
define i32 @foo5(i32* %b) zeroext {
; CHECK: foo5:
-; CHECK: lrv %r1, 0(%r2)
+; CHECK: lrv [[R1:%r.]], 0(%r2)
%a = load i32* %b
%res = tail call i32 @llvm.bswap.i32(i32 %a)
ret i32 %res