diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-15 16:33:45 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2017-12-15 16:33:45 +0000 |
commit | 38e881da88fa50d763b25b2fa32c0ce808b15acf (patch) | |
tree | 715f99064ac12c2cc5e5bcba5e7c9aa3e2932e40 /test/CodeGen/AArch64 | |
parent | bab7762fc59cd5a1171897fdf2524dc1dcf5841c (diff) |
[CodeGen] Print stack object references as %(fixed-)stack.0 in both MIR and debug output
Work towards the unification of MIR and debug output by printing
`%stack.0` instead of `<fi#0>`, and `%fixed-stack.0` instead of
`<fi#-4>` (supposing there are 4 fixed stack objects).
Only debug syntax is affected.
Differential Revision: https://reviews.llvm.org/D41027
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AArch64')
-rw-r--r-- | test/CodeGen/AArch64/tailcall_misched_graph.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/AArch64/tailcall_misched_graph.ll b/test/CodeGen/AArch64/tailcall_misched_graph.ll index 860853a0675..b926594e450 100644 --- a/test/CodeGen/AArch64/tailcall_misched_graph.ll +++ b/test/CodeGen/AArch64/tailcall_misched_graph.ll @@ -26,19 +26,19 @@ declare void @callee2(i8*, i8*, i8*, i8*, i8*, ; CHECK: fi#-2: {{.*}} fixed, at location [SP+8] ; CHECK: fi#-1: {{.*}} fixed, at location [SP] -; CHECK: [[VRA:%.*]]:gpr64 = LDRXui <fi#-1> -; CHECK: [[VRB:%.*]]:gpr64 = LDRXui <fi#-2> -; CHECK: STRXui %{{.*}}, <fi#-4> -; CHECK: STRXui [[VRB]], <fi#-3> +; CHECK: [[VRA:%.*]]:gpr64 = LDRXui %fixed-stack.3 +; CHECK: [[VRB:%.*]]:gpr64 = LDRXui %fixed-stack.2 +; CHECK: STRXui %{{.*}}, %fixed-stack.0 +; CHECK: STRXui [[VRB]], %fixed-stack.1 ; Make sure that there is an dependence edge between fi#-2 and fi#-4. ; Without this edge the scheduler would be free to move the store accross the load. -; CHECK: SU({{.*}}): [[VRB]]:gpr64 = LDRXui <fi#-2> +; CHECK: SU({{.*}}): [[VRB]]:gpr64 = LDRXui %fixed-stack.2 ; CHECK-NOT: SU ; CHECK: Successors: ; CHECK: SU([[DEPSTOREB:.*]]): Ord Latency=0 ; CHECK: SU([[DEPSTOREA:.*]]): Ord Latency=0 -; CHECK: SU([[DEPSTOREA]]): STRXui %{{.*}}, <fi#-4> -; CHECK: SU([[DEPSTOREB]]): STRXui %{{.*}}, <fi#-3> +; CHECK: SU([[DEPSTOREA]]): STRXui %{{.*}}, %fixed-stack.0 +; CHECK: SU([[DEPSTOREB]]): STRXui %{{.*}}, %fixed-stack.1 |