summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix typoChris Lattner2007-01-041-1/+1
| | | | llvm-svn: 32859
* Enable a couple xforms for packed vectors (undef | v) -> -1 for packed.Chris Lattner2007-01-041-8/+9
| | | | llvm-svn: 32858
* fix some bugs handling vectors, avoid host-specific handling of undefined ↵Chris Lattner2007-01-041-5/+15
| | | | | | shift results. llvm-svn: 32857
* Add a new ConstantPacked::getAllOnesValue methodChris Lattner2007-01-042-0/+17
| | | | llvm-svn: 32856
* Enable new pass manager, which was accidentally disabled.Devang Patel2007-01-041-1/+2
| | | | llvm-svn: 32855
* Add a test to ensure that we can assembly comparisons of packed values.Reid Spencer2007-01-041-0/+57
| | | | llvm-svn: 32854
* Regenerate.Reid Spencer2007-01-042-155/+149
| | | | llvm-svn: 32853
* Permit icmp and fcmp to have packed operands.Reid Spencer2007-01-041-5/+2
| | | | | | Make an error message a little more useful. llvm-svn: 32852
* Test @zext and @sext fully as well as testing the "short" call syntax.Reid Spencer2007-01-041-3/+5
| | | | llvm-svn: 32851
* Add a test case to test parameter attributes feature.Reid Spencer2007-01-031-0/+18
| | | | llvm-svn: 32850
* Update test cases that grepped for register names that have now changedReid Spencer2007-01-037-15/+24
| | | | | | as a result of llvm-upgrade handling collapsed type planes better. llvm-svn: 32849
* Regenerate.Reid Spencer2007-01-036-500/+608
| | | | llvm-svn: 32848
* Implement many new type features including upreferences, proper retentionReid Spencer2007-01-031-4/+15
| | | | | | of structure contents, counts of packed and array types, etc. llvm-svn: 32847
* Finish implementation of variable renaming to handle collapsed type planesReid Spencer2007-01-031-35/+71
| | | | | | | | by correctly handling up references and enumerated types. Previously there was some confusion of these two. Thanks to Chris Lattner for demistifying llvm up references. llvm-svn: 32846
* The previous implementation of LLVM Streams wasn't removing symbols. ThisBill Wendling2007-01-034-9/+3
| | | | | | one should. llvm-svn: 32845
* Fix a configure warning noticed by Duncan Sands.Reid Spencer2007-01-031-0/+1
| | | | llvm-svn: 32844
* Remove the find_rule label from the output of flex. This will break anyReid Spencer2007-01-031-0/+1
| | | | | | | use of the REJECT macro but we don't use it. This just hushes up a warning in the presence of -Wno-unused. llvm-svn: 32843
* fix testcase. It's not safe to strictly evaluate a load that should be lazy.Chris Lattner2007-01-031-1/+2
| | | | llvm-svn: 32842
* Private labels start with .L on linux, not just .Chris Lattner2007-01-031-1/+1
| | | | llvm-svn: 32841
* Fix a comment that referred to the now defunct ubyte type.Reid Spencer2007-01-031-1/+1
| | | | llvm-svn: 32840
* Remove two useless bit casts.Reid Spencer2007-01-031-6/+0
| | | | llvm-svn: 32839
* It is no longer permissible to have undefined types in function parameters.Reid Spencer2007-01-031-0/+4
| | | | | | Just fix it by defining the type as opaque. llvm-svn: 32838
* Fix this test case. It is no longer permissible to have undefined typesReid Spencer2007-01-031-0/+4
| | | | | | in function parameters. Fix by just defining the type as opaque. llvm-svn: 32837
* Legalizer doesn't do an ANY_EXTEND if we don't ask for one so make sureReid Spencer2007-01-031-1/+1
| | | | | | | that we default to an ANY_EXTEND if no parameter attribute is set on the result value of a function. llvm-svn: 32836
* NULL names should pass validation.Jim Laskey2007-01-031-1/+2
| | | | llvm-svn: 32835
* Silence warning.Jim Laskey2007-01-031-1/+1
| | | | llvm-svn: 32834
* Really big cleanup.Anton Korobeynikov2007-01-0310-24/+33
| | | | | | | | | | | - New target type "mingw" was introduced - Same things for both mingw & cygwin are marked as "cygming" (as in gcc) - .lcomm is supported here, so allow LLVM to use it - Correctly use underscored versions of setjmp & _longjmp for both mingw & cygwin llvm-svn: 32833
* A bit more debugging printf's.Evan Cheng2007-01-031-0/+10
| | | | llvm-svn: 32832
* Restore previous behavior of defaulting to ZEXT. This works around twoReid Spencer2007-01-031-7/+2
| | | | | | | | things: (1) preventing PR1071 and (2) working around missing parameter attributes for bool type. (2) will be fixed shortly. When PR1071 is fixed, this patch should be undone. llvm-svn: 32831
* Two changes:Reid Spencer2007-01-031-5/+12
| | | | | | | | | | | 1. Switch expression and cases are compared signed and are sign extended. 2. For function results needing extended, do SIGN_EXTEND if the SExtAttribute is set and ZERO_EXTEND if the ZExtAttribute is set, otherwise just let the Legalizer do ANY_EXTEND. This fixes the recent regression in kimwitu++ and probably the llvm-gcc bootstrap issue we had today. llvm-svn: 32830
* Clean up from recent changes. Comment the new parameter to ExpandLibCall.Reid Spencer2007-01-031-24/+20
| | | | | | Consolidate some lines of code and remove duplication. llvm-svn: 32829
* Fix this test cases to use parameter attributes for its parameter andReid Spencer2007-01-032-114/+111
| | | | | | | result types. These tests are checking for sext behavior and it won't happen unless requested with the parameter attribute. llvm-svn: 32828
* Vectors are not supported by ConstantInt::getAllOnesValue.Jim Laskey2007-01-031-5/+10
| | | | llvm-svn: 32827
* This test case previously passed the assembler without error even thoughReid Spencer2007-01-021-0/+2
| | | | | | | it used an undefined type name as a parameter argument. This bug in the assembler has been fixed and it is now necessary to define the type. llvm-svn: 32826
* Regenerate.Reid Spencer2007-01-023-267/+385
| | | | llvm-svn: 32825
* Implement checking for unresolved types in the argument types and resultReid Spencer2007-01-021-0/+59
| | | | | | | type of function definitions. This fixes test/Regression/Assember/2007-01-02-Undefined-Arg-Type.ll llvm-svn: 32824
* Fix naming inconsistency.Evan Cheng2007-01-0212-57/+57
| | | | llvm-svn: 32823
* - Fixing naming inconsistency: calleesave -> calleesaved.Evan Cheng2007-01-021-24/+30
| | | | | | - Make use of spillCalleeSavedRegisters() and restoreCalleeSavedRegisters(). llvm-svn: 32822
* Fix naming inconsistency: calleesave -> calleesaved.Evan Cheng2007-01-022-18/+18
| | | | llvm-svn: 32821
* Add virtual method spillCalleeSaveRegisters() and restoreCalleeSaveRegisters()Evan Cheng2007-01-021-0/+21
| | | | | | | | to MRegisterInfo. These allow the target to issue instructions to spill and restore callee saved registers in case where individual stores / loads aren't the correct / profitable choice. llvm-svn: 32820
* Add a test case for abstract parameter and result types in functionReid Spencer2007-01-021-0/+10
| | | | | | definitions. The assembler should produce an error on this input. llvm-svn: 32819
* PR1068 - Unbounded array debug info.Jim Laskey2007-01-021-0/+14
| | | | llvm-svn: 32818
* Regenerate.Reid Spencer2007-01-023-211/+211
| | | | llvm-svn: 32817
* Permit signed and unsigned integer constants to be used with either signedReid Spencer2007-01-021-1/+1
| | | | | | or unsigned integer types. llvm-svn: 32816
* For PR1070:Reid Spencer2007-01-028-19/+25
| | | | | | | | | | Tweak the RUN: lines of these tests to accommodate the renaming of variables done by llvm-upgrade. The renaming occurs as a result of avoiding name collisons for collapsed type planes. Conflicting names have a .u (unsigned) or .s (signed) suffix added. This patch updates the grep expression to accommodate the new names. llvm-svn: 32815
* For PR1070:Reid Spencer2007-01-025-22/+40
| | | | | | | Revert previous patch now that llvm-upgrade can handle collapsed type plane conversion properly. llvm-svn: 32814
* Manually upgrade this test case to make sure that the new cast-to-boolReid Spencer2007-01-021-3/+3
| | | | | | semantics are retained. llvm-svn: 32813
* For PR1070:Reid Spencer2007-01-021-0/+5
| | | | | | | Add a test case to ensure that llvm-upgrade retains correct semantics for the previous definition of "cast to bool" which compared against null. llvm-svn: 32812
* Regenerate.Reid Spencer2007-01-028-1574/+1967
| | | | llvm-svn: 32811
* For PR1070:Reid Spencer2007-01-023-313/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the upgrade parser to keep track of types more faithfully and use this information to resolve name conflicts resulting from collapsed type planes. The type planes have collapsed because the integer types are now signless so that uint and int became i32. Where two planes existed for uint and int, only i32 exists. Any variable names depending on the type planes to pmake the identifier unique would cause a conflict. This patch resolves that conflict for many but not all cases. Situations involving the integer types and pointers to them are handled by this patch. However, there are corner cases that are not handled well, such as: %t1 = type { uint, int } %t2 = type { int, uint } void %myfunc(%t1* one, %t2* two) { %var = load %t1* one %var = load %t2* two } In the scenario above, %t1 and %t2 are really the same type: { i32, i32 } Consequently attempting to name %var twice will yield a redefinition error when assembled. While this patch is sufficien to allow the llvm/test suite to pass, More work needs to be to complete the handling of these corner cases. llvm-svn: 32810
OpenPOWER on IntegriCloud