summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/RewriteStatepointsForGC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-22 00:16:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-22 00:16:24 +0000
commitd1beb07d390b73d9bae45286737eaf2f58bddfa3 (patch)
treec4e24e0cbe55a01956accffc856070fb13332b33 /llvm/test/Transforms/RewriteStatepointsForGC
parent1eac9a159caeabdce415479ffec0934aa4a9bdbc (diff)
downloadbcm5719-llvm-d1beb07d390b73d9bae45286737eaf2f58bddfa3.tar.gz
bcm5719-llvm-d1beb07d390b73d9bae45286737eaf2f58bddfa3.zip
Have a single way for creating unique value names.
We had two code paths. One would create names like "foo.1" and the other names like "foo1". For globals it is important to use "foo.1" to help C++ name demangling. For locals there is no strong reason to go one way or the other so I kept the most common mangling (foo1). llvm-svn: 253804
Diffstat (limited to 'llvm/test/Transforms/RewriteStatepointsForGC')
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/rewrite-invoke.ll2
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/rewrite-invoke.ll b/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/rewrite-invoke.ll
index 6c70c01c011..140fbdfefc7 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/rewrite-invoke.ll
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/rewrite-invoke.ll
@@ -26,7 +26,7 @@ unwind_dest:
normal_dest:
; CHECK: normal_dest:
-; CHECK-NEXT: %merge = phi i8 addrspace(1)* [ null, %entry ], [ %obj.2, %normal_dest1 ]
+; CHECK-NEXT: %merge = phi i8 addrspace(1)* [ null, %entry ], [ %obj2, %normal_dest1 ]
%merge = phi i8 addrspace(1)* [ null, %entry ], [ %obj, %gc_invoke ]
ret i8 addrspace(1)* %merge
}
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll b/llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll
index 54833b36dc8..10ee08c25a4 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll
@@ -94,7 +94,7 @@ join:
; CHECK-LABEL: join:
; CHECK: phi i8 addrspace(1)*
; CHECK-DAG: [ %arg.relocated, %if_branch ]
-; CHECK-DAG: [ %arg.relocated3, %else_branch ]
+; CHECK-DAG: [ %arg.relocated4, %else_branch ]
; CHECK-NOT: phi
call void (i8 addrspace(1)*) @some_call(i8 addrspace(1)* %arg)
ret void
OpenPOWER on IntegriCloud