OSDN Git Service

For PR1256:
authorReid Spencer <rspencer@reidspencer.com>
Wed, 21 Mar 2007 17:14:36 +0000 (17:14 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 21 Mar 2007 17:14:36 +0000 (17:14 +0000)
commit3e5affd26347351a67145e562b1599d124bcce4f
tree097e68a40ae662f4eeb4921941ba1b0a0270081f
parent82d4264c1fe71480bcaa63235e385a01e38dbe8c
For PR1256:
Make Signedness information pervasive throughout all types and values.
There is no easy way to get around this. Because the GEP instruction can
index through an arbitrarily complex value structure, it is necessary to
keep track of signedness information throughout that structure. This change
makes Signedness a full class, capable of representing Signedness in
arbitrarily shaped types. The class is then used throughout llvm-upgrade to
track signedness and differentiate between globals, locals, and functions
based on their signedness.

For PR1243:
This patch also removes bogus warnings about renaming internal globals. It
now only emits such warnings when renaming non-internal globals because
they may affect linkage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35234 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-upgrade/UpgradeInternals.h
tools/llvm-upgrade/UpgradeLexer.l
tools/llvm-upgrade/UpgradeParser.y