summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CBackend
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale CBackend tests.Benjamin Kramer2012-03-2652-627/+0
| | | | llvm-svn: 153433
* Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnuEli Bendersky2012-03-252-16/+2
| | | | | | | | | | | | | | * Removed test/lib/llvm.exp - it is no longer needed * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files left in the test suite so this code is no longer required. test/lit.cfg is now much shorter and clearer * Removed a lot of duplicate code in lit.local.cfg files that need access to the root configuration, by adding a "root" attribute to the TestingConfig object. This attribute is dynamically computed to provide the same information as was previously provided by the custom getRoot functions. * Documented the config.root attribute in docs/CommandGuide/lit.pod llvm-svn: 153408
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-164-10/+26
| | | | | | | | run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
* Upgrade syntax of tests using volatile instructions to use 'load volatile' ↵Chris Lattner2011-11-273-20/+2
| | | | | | instead of 'volatile load', which is archaic. llvm-svn: 145171
* Only run tests in test/CodeGen/CBackend/X86 when both X86 and CBackend are ↵David Meyer2011-09-261-1/+1
| | | | | | supported llvm-svn: 140517
* Remove llvm-gcc and various compiler handling from llvm. It's not neededEric Christopher2011-09-201-1/+1
| | | | | | here anymore and has been migrated to the test-suite project. llvm-svn: 140216
* Revert r137134. It breaks some code as Eli pointed out.Bill Wendling2011-08-091-11/+0
| | | | llvm-svn: 137135
* Print out the variable declaration only if it is a declaration. Otherwise, aBill Wendling2011-08-091-0/+11
| | | | | | | 'static' variable will be emitted twice. PR10081 llvm-svn: 137134
* more tests not making the jump into the brave new world.Chris Lattner2011-07-095-35/+0
| | | | llvm-svn: 134820
* Add support for sadd.with.overflow and uadd.with.overflow intrinsics to the ↵Anna Zaks2011-06-211-0/+35
| | | | | | CBackend by emitting definitions for each intrinsic that occurs in the module. llvm-svn: 133522
* Moved to the right place.Galina Kistanova2011-06-182-0/+17
| | | | llvm-svn: 133324
* est 2008-06-04-indirectmem.ll is X86-specific. Move to X86 folder.Galina Kistanova2011-06-171-12/+0
| | | | llvm-svn: 133275
* remove asmparser support for the old getresult instruction, which has been ↵Chris Lattner2011-06-171-19/+0
| | | | | | subsumed by extractvalue. llvm-svn: 133247
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-0957-60/+60
| | | | llvm-svn: 81293
* Fix an erroneous check for isFNeg; the FNeg case is handledDan Gohman2009-06-041-0/+7
| | | | | | a few lines later on. llvm-svn: 72904
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-043-4/+4
| | | | | | | | | | | | | | | 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
* Fix PR2907 by digging through constant expressions to find FP constants thatChris Lattner2008-10-221-0/+29
| | | | | | are their operands. llvm-svn: 57956
* In the CBackend, use casts to force integer add, subtract, andDan Gohman2008-07-182-1/+14
| | | | | | | multiply to be done as unsigned, so that they have well defined behavior on overflow. This fixes PR2408. llvm-svn: 53767
* Remove invalid testAnton Korobeynikov2008-06-081-141/+0
| | | | llvm-svn: 52093
* Testcase for PR2418Anton Korobeynikov2008-06-061-0/+141
| | | | llvm-svn: 52047
* Rewrite a bunch of the CBE's inline asm code, giving it theChris Lattner2008-06-041-0/+12
| | | | | | ability to handle indirect input operands. This fixes PR2407. llvm-svn: 51952
* Implement CBE support for first-class structs and array values,Dan Gohman2008-06-021-1/+1
| | | | | | | | | | | | | | | and insertvalue and extractvalue instructions. First-class array values are not trivial because C doesn't support them. The approach I took here is to wrap all arrays in structs. Feedback is welcome. The 2007-01-15-NamedArrayType.ll test needed to be modified because it has a "not grep" for a string that now exists, because array types now have associated struct types, and those struct types have names. llvm-svn: 51881
* update this patch to handle an extraneous &1. This should be pulledChris Lattner2008-05-311-2/+1
| | | | | | into the 2.3 release branch. llvm-svn: 51824
* Fix the CBE's handling of instructions whose result is an i1. Previously,Chris Lattner2008-05-311-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | we did not truncate the value down to i1 with (x&1). This caused a problem when the computation of x was nontrivial, for example, "add i1 1, 1" would return 2 instead of 0. This makes the testcase compile into: ... llvm_cbe_t = (((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u))&1); llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t)); ... instead of: ... llvm_cbe_t = ((llvm_cbe_r == 0u) + (llvm_cbe_r == 0u)); llvm_cbe_u = (((unsigned int )(bool )llvm_cbe_t)); ... This fixes a miscompilation of mediabench/adpcm/rawdaudio/rawdaudio and 403.gcc with the CBE, regressions from LLVM 2.2. Tanya, please pull this into the release branch. llvm-svn: 51813
* Add support for multiple-return values in inline asm. This shouldChris Lattner2008-05-221-0/+19
| | | | | | | get inline asm working as well as it did previously with the CBE with the new MRV support for inline asm. llvm-svn: 51420
* 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
* rename *.llx -> *.llChris Lattner2008-04-196-0/+0
| | | | llvm-svn: 49970
* remove an execution test.Chris Lattner2008-03-101-17/+0
| | | | llvm-svn: 48135
* add a testcase for misc vector stuffChris Lattner2008-03-021-0/+37
| | | | llvm-svn: 47826
* Update testcase.Lauro Ramos Venancio2008-02-281-1/+1
| | | | llvm-svn: 47735
* Remove llvm-upgrade and update tests.Tanya Lattner2008-02-1944-264/+262
| | | | llvm-svn: 47296
* CBackend: Implement unaligned load/store.Lauro Ramos Venancio2008-02-011-0/+15
| | | | llvm-svn: 46646
* Change all floating constants that are not exactlyDale Johannesen2007-09-051-2/+2
| | | | | | representable to use hex format. llvm-svn: 41722
* Convert tests using "| wc -l | grep ..." to use the count script.Dan Gohman2007-08-151-1/+1
| | | | llvm-svn: 41097
* The Ada f-e produces various auxiliary output filesDuncan Sands2007-07-231-1/+1
| | | | | | | | | | | that cannot be suppressed and cannot be redirected: they are dumped in the current working directory. When running the testsuite this means that these files do not end up in the Output directory. The best solution I could find is to change directory into Output before running tests. llvm-svn: 40437
* Remove insignificant test no longer needed.Reid Spencer2007-07-161-6/+0
| | | | llvm-svn: 39931
* Handle packed structs in the CBackend.Lauro Ramos Venancio2007-07-111-0/+9
| | | | llvm-svn: 39752
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
* Reverse last patch .. premature. Depends on uncommitted CBE patch.Reid Spencer2007-05-141-2/+1
| | | | llvm-svn: 37039
* Update this test to match the (corrected) output from the CBE.Reid Spencer2007-05-141-1/+2
| | | | llvm-svn: 37038
* Use the llvm_supports_target function to prevent running of tests forReid Spencer2007-04-211-1/+3
| | | | | | targets that LLVM is not configured to support. llvm-svn: 36315
* For PR1319:Reid Spencer2007-04-161-1/+1
| | | | | | Fix syntax of tests to ensure grep pattern is properly quoted. llvm-svn: 36134
* fix incorrectly upgraded test, add PR#Chris Lattner2007-04-161-3/+2
| | | | llvm-svn: 36114
* For PR1336:Reid Spencer2007-04-161-3/+2
| | | | | | Upgrade the intrinsic to its new form. llvm-svn: 36108
* For PR1336:Reid Spencer2007-04-152-0/+3
| | | | | | XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed. llvm-svn: 36093
* Make this test work.Reid Spencer2007-04-151-1/+1
| | | | llvm-svn: 36079
* For PR1319: Upgrade to use new test harnessReid Spencer2007-04-157-13/+11
| | | | llvm-svn: 36077
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-1/+1
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Remove use of implementation keyword.Reid Spencer2007-03-282-2/+0
| | | | llvm-svn: 35412
OpenPOWER on IntegriCloud