diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-09 17:09:09 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-09 17:09:09 +0000 |
commit | 251f21492e759369dc04b2859afa54458dcd1f6f (patch) | |
tree | 1c762fa2cf2b3eb88fbb692f572961f80f380e71 /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | cf8790aaff0ed1b7aead5b922450352d72c301bf (diff) |
For PR1099:
Invert the "isSigned" logic in calls to printType and printPrimitiveType.
We want variables to be declared unsigned by default so that signless
operators like + and - perform the unsigned operation that LLVM expects
by default. Parameters with the sext attribute will be declared signed and
signed instructions will case operand values to signed regardless of the
type of the variable. This passes all tests and fixes PR1099.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions