diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-14 21:44:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-14 21:44:00 +0000 |
commit | 8a32784ad4a2110c4c73189c3314289c407a6183 (patch) | |
tree | 9314cd8d97f8bddc106c6919e4dcc35bd9b04b8a /lib/Transforms/Utils/ValueMapper.cpp | |
parent | cb9d6a8f734f6b876c2c32b39095ea69fa47a325 (diff) |
* Fairly substantial change. Instead of creating new globalvariables, then
replaceAllUsesWith'ing any forward references, just use the forward
reference if it exists.
This introduces GetForwardRefForGlobal, which will eventually completely
replace the horrible DeclareNewGlobalValue function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions