summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fixed indentation.Zhou Sheng2007-01-111-4/+4
| | | | llvm-svn: 33072
* Shut up a warning about signed/unsigned.Reid Spencer2007-01-111-1/+1
| | | | llvm-svn: 33071
* Put in some needed \ at the end of lines!!!Reid Spencer2007-01-111-1/+1
| | | | llvm-svn: 33070
* simplify some logic furtherChris Lattner2007-01-111-11/+2
| | | | llvm-svn: 33069
* Recommit my previous patch with a bugfix: printInfoComment works on bothChris Lattner2007-01-111-63/+67
| | | | | | local and global values. llvm-svn: 33068
* Quiet compiler warning. The only reason the function is marked virtualNick Lewycky2007-01-111-0/+2
| | | | | | is so that it can be called from inside a debugger. llvm-svn: 33067
* New predicate simplifier!Nick Lewycky2007-01-112-974/+1174
| | | | | | Please do not enable, there is still some known miscompile problem. llvm-svn: 33066
* Add PassManagerType enum.Devang Patel2007-01-112-0/+24
| | | | llvm-svn: 33065
* Avoid taking the address of a macro by checking to see if stdin is definedReid Spencer2007-01-111-0/+4
| | | | | | or not. This allows DynamicLibrary.cpp to compile on Darwin. llvm-svn: 33064
* Implement better constant folding of unordered FCMP predicates.Reid Spencer2007-01-111-7/+27
| | | | llvm-svn: 33063
* Robustify assingPassManager() for Module, Function and Basic BlockDevang Patel2007-01-112-39/+77
| | | | | | | | | | Passes. Robustify PMStack.push() Add dump() routine to print PMStack. llvm-svn: 33062
* Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This isReid Spencer2007-01-101-2/+12
| | | | | | a bit of a hack but it lets some of the llvm-test programs run. llvm-svn: 33058
* Back out the last patch which is a nightly test killer. The assertionReid Spencer2007-01-101-63/+63
| | | | | | | | in getLocalSlot fires on many, many values. It broke nearly all of the dejagnu tests. Simple changes to the assertion did not fix the problem. llvm-svn: 33054
* Last refactoring before PR645: split up getSlot into getLocalSlot and ↵Chris Lattner2007-01-101-63/+63
| | | | | | | | getGlobalSlot. No functionality change. llvm-svn: 33053
* eliminate some iterator gymnastics.Chris Lattner2007-01-101-8/+4
| | | | llvm-svn: 33052
* Change the file header name as this file was renamed.Reid Spencer2007-01-101-1/+1
| | | | llvm-svn: 33051
* Rename Writer.cpp as CBackend.cpp so it doesn't conflict with Writer.cppReid Spencer2007-01-101-0/+0
| | | | | | in the bytecode writer library. This helps with debugging. llvm-svn: 33050
* Fix a bug in heap-sra that caused compilation failure of office-ispell.Chris Lattner2007-01-091-3/+19
| | | | llvm-svn: 33043
* Explain that bitcast can only cast a pointer to another pointer.Reid Spencer2007-01-091-1/+2
| | | | llvm-svn: 33041
* For PR1099:Reid Spencer2007-01-091-33/+33
| | | | | | | | | | | 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
* Inline insertValue into CreateModuleSlot/CreateFunctionSlotChris Lattner2007-01-091-35/+24
| | | | llvm-svn: 33038
* Remove a bunch of complex logic that is completely dead: duplicates canChris Lattner2007-01-091-57/+1
| | | | | | never be inserted! llvm-svn: 33037
* Split CreateSlot into two versions, one for globals and one for function-localChris Lattner2007-01-091-61/+68
| | | | | | values llvm-svn: 33036
* Remove extraneous return value from insertValue and getOrCreateSlot. SinceChris Lattner2007-01-091-53/+34
| | | | | | getOrCreateSlot no longer gets the slot, rename it to CreateSlot. llvm-svn: 33035
* For PR1099:Reid Spencer2007-01-091-8/+9
| | | | | | | | | | | | | | | 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
* Test case for PR1099.Reid Spencer2007-01-091-0/+31
| | | | llvm-svn: 33033
* Fixing a ">" redirect to be a ">>" redirect, so a sed command doesn't get ↵Chandler Carruth2007-01-091-1/+1
| | | | | | clobbered. llvm-svn: 33032
* Add PR number for future referenceChris Lattner2007-01-091-0/+1
| | | | llvm-svn: 33031
* Fix test case.Evan Cheng2007-01-091-1/+1
| | | | llvm-svn: 33030
* PR1085 is fixed now.Reid Spencer2007-01-091-1/+0
| | | | llvm-svn: 33029
* Added a test case from PR1075.Evan Cheng2007-01-081-0/+13
| | | | llvm-svn: 33028
* Undo xfail now scheduler deficiency has been fixed.Evan Cheng2007-01-081-2/+1
| | | | llvm-svn: 33027
* Naming consistency.Evan Cheng2007-01-081-25/+27
| | | | llvm-svn: 33026
* Fix for PR1075: bottom-up register-reduction scheduling actually increases ↵Evan Cheng2007-01-081-120/+72
| | | | | | | | | | register pressure. - 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
* Implement some trivial FP foldings when -enable-unsafe-fp-math is specified.Chris Lattner2007-01-081-0/+15
| | | | | | This implements CodeGen/PowerPC/unsafe-math.ll llvm-svn: 33024
* new testcaseChris Lattner2007-01-081-0/+9
| | | | llvm-svn: 33023
* Need to handle static declarations properly.Jim Laskey2007-01-081-6/+9
| | | | llvm-svn: 33022
* Unbreak VC++ build.Jeff Cohen2007-01-083-7/+1
| | | | llvm-svn: 33021
* Parameter attributes are part of a FunctionType and deserve to be factoredReid Spencer2007-01-081-1/+6
| | | | | | into comparisons of two FunctionTypes. Make it so. llvm-svn: 33020
* XFAIL this test until PR1085 mystery is resolved.Reid Spencer2007-01-081-0/+1
| | | | llvm-svn: 33019
* Add PMStack, a Pass Manager stack.Devang Patel2007-01-082-2/+170
| | | | | | | | 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
* Modules are consumed when they are merged together by Linker.Devang Patel2007-01-081-0/+2
| | | | | | | Clear modules vector so that destructure does not try to delete these modules again. Patch by Chandler Carruth. llvm-svn: 33017
* And asm writing for packed struct initializersAndrew Lenharth2007-01-081-0/+4
| | | | llvm-svn: 33016
* Make packed structs use packed initialiers for consistencyAndrew Lenharth2007-01-081-0/+52
| | | | llvm-svn: 33015
* Packed structs use packed struct initializersAndrew Lenharth2007-01-081-17/+17
| | | | llvm-svn: 33014
* testcase for PR1097Chris Lattner2007-01-081-0/+19
| | | | llvm-svn: 33013
* Comparison of primitive type sizes should now be done in bits, not bytes.Reid Spencer2007-01-083-12/+14
| | | | | | | This patch converts getPrimitiveSize to getPrimitiveSizeInBits where it is appropriate to do so (comparison of integer primitive types). llvm-svn: 33012
* For PR1097:Reid Spencer2007-01-081-1/+1
| | | | | | | | 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
* For PR1090:Reid Spencer2007-01-081-28/+31
| | | | | | | | | | | 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
* Fully specify the type of the llvm.va* intrinsics. This helps resolveChris Lattner2007-01-081-8/+15
| | | | | | Pr1093 llvm-svn: 33009
OpenPOWER on IntegriCloud