summaryrefslogtreecommitdiff
path: root/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-09 06:38:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-09 06:38:06 +0000
commit30f9e27f643863aaf2bf901e2066f7eae80df895 (patch)
tree1f4342d4777b6439ce85a793a445512531aa6da0 /lib/VMCore/AsmWriter.cpp
parenta878bab41855959faa3742fe0813279480e08130 (diff)
downloadllvm-30f9e27f643863aaf2bf901e2066f7eae80df895.tar.gz
llvm-30f9e27f643863aaf2bf901e2066f7eae80df895.tar.bz2
llvm-30f9e27f643863aaf2bf901e2066f7eae80df895.tar.xz
For PR1099:
Partial fix for this PR. Default function parameters to signed integer, just like everything else in CBE. The bug was caused by incorrectly introducing parameter attributes feature by choosing "signed" parameter if the SExtAttribute was specified. Howeer, if no attribute is specified, this causes it to become unsigned which is incorrect. Reversing the logic so that signedness is detected by "not ZExtAttribute" set fixes the issue. This fixes 197.parser but there is more to do. Any comparison and possibly other operators involving arguments may need to correctly cast the parameter before its use, depending on the sign of the operator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
0 files changed, 0 insertions, 0 deletions