- Jan 09, 2007
-
-
Reid Spencer authored
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. llvm-svn: 33039
-
Chris Lattner authored
llvm-svn: 33038
-
Chris Lattner authored
never be inserted! llvm-svn: 33037
-
Chris Lattner authored
values llvm-svn: 33036
-
Chris Lattner authored
getOrCreateSlot no longer gets the slot, rename it to CreateSlot. llvm-svn: 33035
-
Reid Spencer authored
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. llvm-svn: 33034
-
Reid Spencer authored
llvm-svn: 33033
-
Chandler Carruth authored
llvm-svn: 33032
-
Chris Lattner authored
llvm-svn: 33031
-
Evan Cheng authored
llvm-svn: 33030
-
Reid Spencer authored
llvm-svn: 33029
-
Evan Cheng authored
llvm-svn: 33028
-
Evan Cheng authored
llvm-svn: 33027
-
Evan Cheng authored
llvm-svn: 33026
-
Evan Cheng authored
- Fixed bugs in sethi-ullman number computation and priority queue comparison functions. - Separate code that handles priority computation special cases from SU number computation. llvm-svn: 33025
-
Chris Lattner authored
This implements CodeGen/PowerPC/unsafe-math.ll llvm-svn: 33024
-
Chris Lattner authored
llvm-svn: 33023
-
- Jan 08, 2007
-
-
Jim Laskey authored
llvm-svn: 33022
-
Jeff Cohen authored
llvm-svn: 33021
-
Reid Spencer authored
into comparisons of two FunctionTypes. Make it so. llvm-svn: 33020
-
Reid Spencer authored
llvm-svn: 33019
-
Devang Patel authored
Eventually, Top level pass managers will use this to keep track of active pass managers. Eass pass will also learn how to find appropriate manager from these managers stack. llvm-svn: 33018
-
Devang Patel authored
Clear modules vector so that destructure does not try to delete these modules again. Patch by Chandler Carruth. llvm-svn: 33017
-
Andrew Lenharth authored
llvm-svn: 33016
-
Andrew Lenharth authored
llvm-svn: 33015
-
Andrew Lenharth authored
llvm-svn: 33014
-
Chris Lattner authored
llvm-svn: 33013
-
Reid Spencer authored
This patch converts getPrimitiveSize to getPrimitiveSizeInBits where it is appropriate to do so (comparison of integer primitive types). llvm-svn: 33012
-
Reid Spencer authored
Enable complex addressing modes on 64-bit platforms involving two induction variables by keeping a size and scale in 64-bits not 32. Patch by Dan Gohman. llvm-svn: 33011
-
Reid Spencer authored
Clean up the definitions of the helper functions per Chris' review suggestions so they are easier to read. For PR1091: Print minimum signed integer values as unsigned so that we get no warnings from the C compiler about constant ranges and value comparisons. llvm-svn: 33010
-
Chris Lattner authored
Pr1093 llvm-svn: 33009
-
Chris Lattner authored
as the jit intercepts exit calls to implement atexit handlers. This fixes SingleSource/UnitTests/2003-05-14-AtExit llvm-svn: 33008
-
Reid Spencer authored
Implemented some llvm_fcmp_{pred} functions at the start of the function bodies and use them for fcmp instructions and constant expressions. These help implement the ordered and unordered comparisons necessary for correct exectuion of these comparisons. llvm-svn: 33007
-
-
Reid Spencer authored
llvm-svn: 33005
-
Chandler Carruth authored
llvm-svn: 33004
-
Reid Spencer authored
llvm-svn: 33003
-
Reid Spencer authored
llvm-svn: 33002
-
- Jan 07, 2007
-
-
Reid Spencer authored
llvm-svn: 33001
-
Reid Spencer authored
llvm-svn: 33000
-