diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-13 07:59:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-13 07:59:27 +0000 |
commit | 8ab406d5bd7b94d7acce3f6d97efc5b011d869dc (patch) | |
tree | 854c0ad8452f3ed4639ee82c9088fe6a4be1399f /lib/Transforms/Utils/CodeExtractor.cpp | |
parent | 0859e525820e3d07069613d4aa7ae6113e9d57b6 (diff) |
A couple of substantial cleanup fixes:
1. Split setValueName into two separate functions, one that is only used
at function scope and doesn't have to deal with duplicates, and one
that can be used either at global or function scope but that does deal
with conflicts. Conflicts were only in there because of the crappy old
CFE and probably should be entirely eliminated.
2. Insert BasicBlock's into the parent functions when they are created
instead of when they are complete. This effects name lookup (for the
better), which will be exploited in the next patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions