[RewriteStatepointsForGC] Adjust naming scheme to be more stable
authorPhilip Reames <listmail@philipreames.com>
Fri, 24 Jul 2015 19:01:39 +0000 (19:01 +0000)
committerPhilip Reames <listmail@philipreames.com>
Fri, 24 Jul 2015 19:01:39 +0000 (19:01 +0000)
commitec2871f730c3ce8d7009b5cb9a751fef8d41ab9d
treedac4a3e566ffefdd92badad1bcb7b056f568a965
parente4a9f1b6e78f2af36f87d587a99909b7ad3c77c0
[RewriteStatepointsForGC] Adjust naming scheme to be more stable

The names for instructions inserted were previous dependent on iteration order.  By deriving the names from the original instructions, we can avoid instability in tests without resorting to ordered traversals.  It also makes the IR mildly easier to read at large scale.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
test/Transforms/RewriteStatepointsForGC/base-pointers-1.ll
test/Transforms/RewriteStatepointsForGC/base-pointers-10.ll
test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll
test/Transforms/RewriteStatepointsForGC/base-pointers-5.ll
test/Transforms/RewriteStatepointsForGC/base-pointers-6.ll
test/Transforms/RewriteStatepointsForGC/base-pointers-7.ll
test/Transforms/RewriteStatepointsForGC/base-pointers.ll