llvm/lib/Target/CBackend
Reid Spencer 30f9e27f64 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
2007-01-09 06:38:06 +00:00
..
CBackend.cpp For PR1099: 2007-01-09 06:38:06 +00:00
CTargetMachine.h Completely rearchitect the interface between targets and the pass manager. 2006-09-04 04:14:57 +00:00
Makefile For PR950: 2006-12-23 06:05:41 +00:00
Writer.cpp For PR1099: 2007-01-09 06:38:06 +00:00