summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature
Commit message (Collapse)AuthorAgeFilesLines
...
* rename test.Chris Lattner2009-10-271-0/+0
| | | | llvm-svn: 85256
* eliminate md_on_instruction.ll, md_on_instruction2.ll is a superset of it.Chris Lattner2009-10-192-24/+1
| | | | llvm-svn: 84464
* Add new "memory use marker" intrinsics. These indicate lifetimes and invariantNick Lewycky2009-10-131-0/+36
| | | | | | sections of memory objects. llvm-svn: 83953
* Parse custom metadata attached with an instruction.Devang Patel2009-09-292-9/+9
| | | | llvm-svn: 83033
* Write and read metadata attachments.Devang Patel2009-09-181-0/+22
| | | | llvm-svn: 82259
* A testcase!Devang Patel2009-09-171-0/+23
| | | | llvm-svn: 82176
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-111-1/+1
| | | | | | | | input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
* this test is using invalid "intrinsics".Chris Lattner2009-09-111-20/+0
| | | | llvm-svn: 81527
* Use "opt < %s" instead of "opt %s" so that opt doesn't print the testDan Gohman2009-09-081-1/+1
| | | | | | filename in the output, which interferes with the tests' grep lines. llvm-svn: 81263
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-082-3/+3
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* Temporary test files should use %t.Daniel Dunbar2009-09-052-6/+6
| | | | llvm-svn: 81086
* Remove obsolete -f flags.Dan Gohman2009-08-252-2/+2
| | | | llvm-svn: 79992
* Do not use abbrev while writing NamedMDNode name.Devang Patel2009-07-301-0/+7
| | | | llvm-svn: 77637
* Read and write NamedMDNode.Devang Patel2009-07-291-0/+6
| | | | llvm-svn: 77517
* Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵Devang Patel2009-07-234-17/+7
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Remove empty test.Devang Patel2009-07-221-0/+0
| | | | llvm-svn: 76763
* Introduce MetadataBase, a base class for MDString and MDNode.Devang Patel2009-07-222-7/+5
| | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759
* Drop "constant" from Devang Patel2009-07-083-4/+5
| | | | | | !0 = constant metadata !{...} llvm-svn: 75057
* Update SLotTracker to handle MDNode slots.Devang Patel2009-07-081-3/+4
| | | | | | Simplify MDNode printing. llvm-svn: 75053
* Support MDNode forward reference.Devang Patel2009-07-081-0/+5
| | | | llvm-svn: 75031
* new test caseDevang Patel2009-07-011-0/+3
| | | | llvm-svn: 74633
* Support stand alone metadata syntax.Devang Patel2009-07-011-0/+7
| | | | | | | !0 = constant metadata !{i32 21, i32 22} @llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0} llvm-svn: 74630
* Let's ignore MDStrings also!Devang Patel2009-06-261-1/+3
| | | | llvm-svn: 74255
* No need to code gen MDNodesDevang Patel2009-06-251-0/+2
| | | | llvm-svn: 74150
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-151-0/+37
| | | | | | | | | | | | | | | failures. To support this, add some utility functions to Type to help support vector/scalar-independent code. Change ConstantInt::get and ConstantFP::get to support vector types, and add an overload to ConstantInt::get that uses a static IntegerType type, for convenience. Introduce a new getConstant method for ScalarEvolution, to simplify common use cases. llvm-svn: 73431
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-043-3/+3
| | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
* Give embedded metadata its own type instead of relying on EmptyStructTy.Nick Lewycky2009-05-301-3/+3
| | | | llvm-svn: 72610
* Make MDNode use CallbackVH. Also change MDNode to store Value* instead ofNick Lewycky2009-05-101-1/+1
| | | | | | | Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
* Add support for embedded metadata to LLVM. This introduces two new types ofNick Lewycky2009-04-041-0/+11
| | | | | | | | Constant, MDString and MDNode which can only be used by globals with a name that starts with "llvm." or as arguments to a function with the same naming restriction. llvm-svn: 68420
* Don't load values out of global constants with weakDuncan Sands2009-03-201-0/+38
| | | | | | | | | linkage: the value may be replaced with something different at link time. (Frontends that want to allow values to be loaded out of weak constants can give their constants weak_odr linkage). llvm-svn: 67407
* Reimplement the old and horrible bison parser for .ll files with a niceChris Lattner2009-01-022-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. llvm-svn: 61558
* add testcase for type parsing.Chris Lattner2008-12-271-0/+21
| | | | llvm-svn: 61449
* Extend the 'noalias' attribute to function return values. This is intended toNick Lewycky2008-11-241-0/+6
| | | | | | | | | indicate functions that allocate, such as operator new, or list::insert. The actual definition is slightly less strict (for now). No changes to the bitcode reader/writer, asm printer or verifier were needed. llvm-svn: 59934
* Put CPPBackend tests into their own directory and run them only if they'reBill Wendling2008-07-101-756/+0
| | | | | | supported. llvm-svn: 53427
* Fix some escaping and quoting in RUN lines, mainly involving { and <. In twoMatthijs Kooijman2008-06-101-1/+1
| | | | | | | | | cases quoting of <{ didn't work out, so I changed the grep to check for }> instead. This fixes 7 testcases that were not properly running before. llvm-svn: 52182
* Remove lingering references to .llx and .tr in the tests.Dan Gohman2008-05-231-1/+1
| | | | llvm-svn: 51500
* Eliminate questionable syntax for stdin redirection. This probably also ↵Gabor Greif2008-05-201-1/+1
| | | | | | speeds things up a bit. llvm-svn: 51357
* sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif2008-05-201-1/+1
| | | | llvm-svn: 51349
* Rename the last test with .llx extension to .ll, resolve duplicate test by ↵Gabor Greif2008-05-201-1/+1
| | | | | | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too. llvm-svn: 51328
* Update testAnton Korobeynikov2008-04-251-1/+1
| | | | llvm-svn: 50272
* Start removing 'unwinds to' support from mainline in preparation for 2.3.Nick Lewycky2008-04-221-67/+0
| | | | llvm-svn: 50086
* Upgrade these tests for the current intrinsic prototypes.Dan Gohman2008-04-141-18/+18
| | | | llvm-svn: 49669
* Support chained aliases for LLVM IR printing. This fixes PR2145Anton Korobeynikov2008-03-221-0/+2
| | | | llvm-svn: 48684
* no need to keep around this output.Chris Lattner2008-03-121-1/+1
| | | | llvm-svn: 48285
* Turn unwind_to into "unwinds to".Nick Lewycky2008-03-101-9/+9
| | | | llvm-svn: 48123
* Exercise the new CFG change.Nick Lewycky2008-03-061-0/+13
| | | | llvm-svn: 47990
* Oops, can't unwind to the entry block (entry block may have no preds).Nick Lewycky2008-03-021-0/+6
| | | | llvm-svn: 47808
* Add an unwind_to field to basic blocks, making them Users instead of Values.Nick Lewycky2008-03-021-0/+48
| | | | | | This is the first checkin for PR1269, the new EH infrastructure. llvm-svn: 47802
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-0140-705/+624
| | | | llvm-svn: 47784
OpenPOWER on IntegriCloud