Major fix: extract ConstantExpr nodes and decompose them into symbolic
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 13 Oct 2002 00:01:57 +0000 (00:01 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 13 Oct 2002 00:01:57 +0000 (00:01 +0000)
commitd0451a92336a5ef2acb45f9f2b5675d8006d1fbf
tree6c18c84b96f4f0b7a4261f357f231962d5e3d8ae
parentcd334b8dc63d86a811af46d4f8ca5cceed99e44a
Major fix: extract ConstantExpr nodes and decompose them into symbolic
instructions so that (a) constant folding is done automatically before
code generation, and (b) selection does not have to deal with them.
Also, check for ConstantPointerRefs in additional to GlobalValues
when creating a GEP to load a global address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4126 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9PreSelection.cpp