summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Adjust to new header file name.Reid Spencer2007-01-051-1/+1
| | | | llvm-svn: 32907
* Major update of llvm-upgrade:Reid Spencer2007-01-053-238/+534
| | | | | | | | | | | | | | | | | | | 1. Completely revise the type system so that types are handled as const objects and not created multiple times, cloned, or otherwise copied. This gets around memory issues, saves memory, and also emulates LLVM's no-two-types-of-the-same-shape-created semantics. 2. Adjust the handling of global names. Basically, we cannot rename them for a variety of reasons: linking, forward references, etc. 3. Detect global names that have name conflicts as the result of collapsed type planes or redefinitions that llvm-as no longer accepts. These will produce warnings on stderr and one of the globals will be renamed. 4. Rename ParserInternals.h as UpgradeInternals.h so it doesn't conflict in the debugger with ParserInternals.h from lib/AsmParser. 5. Move the guts of the TypeInfo class into the grammar so we aren't implementing large functions in a header file. This also helps with debugging a bit. llvm-svn: 32906
* Regenerate.Reid Spencer2007-01-053-1170/+1159
| | | | llvm-svn: 32905
* Change the syntax for parameter attributes:Reid Spencer2007-01-054-76/+84
| | | | | | | | | | | | | | | | | | | 1. The @ sign is no longer necessary. 2. We now support "function attributes" as parameter attribute 0. 3. Instead of locating the return type attributes after the type of a function result, they are now located after the function header's closing paranthesis and before any alignment or section options. 4. The way has been prepared for a new "noreturn" function attribute but there is no support for recognizing it in the lexer nor doing anything with it if it does get set. 5. The FunctionType::getParamAttrsText method now has support for returning multiple attributes. This required a change in its interface. I'm unhappy that this change leads to 6 new shift/reduce conflicts, but in each case bison's decision to choose the shift is correct so there shouldn't be any damage from these conflicts. llvm-svn: 32904
* Give the assembler some input.Reid Spencer2007-01-051-3/+4
| | | | llvm-svn: 32903
* TypoEvan Cheng2007-01-051-1/+1
| | | | llvm-svn: 32902
* Add a test case for SSE fcopysign using SSE bitwise operations.Evan Cheng2007-01-051-0/+18
| | | | llvm-svn: 32901
* With SSE2, expand FCOPYSIGN to a series of SSE bitwise operations.Evan Cheng2007-01-053-8/+93
| | | | llvm-svn: 32900
* Implement InstCombine/vec_shuffle.ll:%test7, simplifying shuffles withChris Lattner2007-01-051-1/+23
| | | | | | undef operands. llvm-svn: 32899
* new testChris Lattner2007-01-051-0/+4
| | | | llvm-svn: 32898
* manually upgrade this testcaseChris Lattner2007-01-051-23/+23
| | | | llvm-svn: 32897
* fold things like a^b != c^a -> b != c. This implements ↵Chris Lattner2007-01-051-12/+33
| | | | | | InstCombine/xor.ll:test27 llvm-svn: 32893
* new testcaseChris Lattner2007-01-051-0/+9
| | | | llvm-svn: 32892
* llvm upgrade doesn't accept 'define'Chris Lattner2007-01-051-1/+2
| | | | llvm-svn: 32891
* Compile X + ~X to -1. This implements Instcombine/add.ll:test34Chris Lattner2007-01-051-1/+7
| | | | llvm-svn: 32890
* new testcaseChris Lattner2007-01-051-0/+6
| | | | llvm-svn: 32889
* GEP subscript is interpreted as a signed value.Evan Cheng2007-01-051-1/+1
| | | | llvm-svn: 32888
* Correct the documentation for function declarations. They can have dllimportReid Spencer2007-01-051-2/+4
| | | | | | or extern_weak linkage as well as "externally visible". llvm-svn: 32887
* add missing flagsChris Lattner2007-01-041-2/+2
| | | | llvm-svn: 32885
* fix PowerPC/2007-01-04-ArgExtension.ll, a bug handling K&R prototypes withChris Lattner2007-01-041-4/+6
| | | | | | the recent signless changes. llvm-svn: 32884
* new testcaseChris Lattner2007-01-041-0/+10
| | | | llvm-svn: 32883
* Fix broken links, reported by Baptiste LepilleurChris Lattner2007-01-041-3/+3
| | | | llvm-svn: 32882
* Expand fcopysign to a series of bitwise of operations when it's profitable toEvan Cheng2007-01-041-19/+46
| | | | | | do so. llvm-svn: 32881
* regenerateChris Lattner2007-01-046-8133/+6026
| | | | llvm-svn: 32880
* If we hit a parse error, emit something bad to the output stream. This ↵Chris Lattner2007-01-041-0/+2
| | | | | | | | | | ensures that llvm-upgrade < foo | llvm-as | llvm-dis will fail if llvm-upgrade fails. llvm-svn: 32879
* Document this tool as experimental and list its deficiencies.Reid Spencer2007-01-041-3/+28
| | | | llvm-svn: 32878
* remove the 'protected' workaround now that we don't care about gcc 2.95 anymore.Chris Lattner2007-01-041-39/+0
| | | | | | Reid already did this for FunctionType, this just cleans the rest up. llvm-svn: 32877
* remove xfailed test that depends on obsolete argument to lliChris Lattner2007-01-041-76/+0
| | | | llvm-svn: 32876
* Remove a manual renaming of a variable that was introduced beforeReid Spencer2007-01-041-1/+1
| | | | | | llvm-upgrade could properly handle collapsed type planes. llvm-svn: 32875
* Clean up usage of "unsigned" and "signed" in the documentation to indicateReid Spencer2007-01-041-20/+21
| | | | | | | only that specific instructions regard their operands as signed and unsigned not that the operands *are* signed or unsigned. llvm-svn: 32874
* Add test for constructor and destructor sections.Lauro Ramos Venancio2007-01-041-0/+16
| | | | llvm-svn: 32873
* Add extload(i1) test.Lauro Ramos Venancio2007-01-041-0/+22
| | | | llvm-svn: 32872
* Add test for FCOPYSIGN.Lauro Ramos Venancio2007-01-041-0/+21
| | | | llvm-svn: 32871
* Expand SELECT (f32/f64) and FCOPYSIGN (f32/f64).Lauro Ramos Venancio2007-01-041-0/+5
| | | | llvm-svn: 32870
* Removed reference to "cnull" because typical users shouldn't need to useBill Wendling2007-01-041-6/+0
| | | | | | it. llvm-svn: 32869
* ding dong llvm-gcc3 is deadChris Lattner2007-01-041-74/+2
| | | | llvm-svn: 32868
* gcc 4.1.1 on amd64 is brokenChris Lattner2007-01-041-1/+6
| | | | llvm-svn: 32867
* Death to useless bitcast instructions!Reid Spencer2007-01-041-33/+3
| | | | llvm-svn: 32866
* Do not allow packed types for icmp and fcmp instructions.Reid Spencer2007-01-041-5/+2
| | | | llvm-svn: 32865
* icmp and fcmp do not take packed type operands.Reid Spencer2007-01-041-6/+5
| | | | llvm-svn: 32864
* XFAIL this test until such time that code gen can handle a comparison ofReid Spencer2007-01-041-0/+1
| | | | | | packed types. llvm-svn: 32863
* Regenerate.Reid Spencer2007-01-042-27/+35
| | | | llvm-svn: 32862
* Disallow packed types in icmp/fcmp instructions. The code generator isReid Spencer2007-01-041-0/+4
| | | | | | not prepared to handle them yet. llvm-svn: 32861
* Now that setcondinst has been eliminated, we can mark Value::SubclassIDChris Lattner2007-01-043-16/+1
| | | | | | const and remove the ugly mutator methods. llvm-svn: 32860
* 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
OpenPOWER on IntegriCloud