Added code that checks to see if a global variable is external before replacing
authorJohn Criswell <criswell@uiuc.edu>
Mon, 21 Jul 2003 19:42:57 +0000 (19:42 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Mon, 21 Jul 2003 19:42:57 +0000 (19:42 +0000)
commit067947380c5d7b1bc867f71bab6f672a1b109405
tree00bd0d4a454fff18d4544573a5fef34416ce81c5
parentcf2a7385ddc65313b9a5b7c5786ae609e4881bc4
Added code that checks to see if a global variable is external before replacing
a load of the global variable with the variable's constant value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7216 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp