summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CBackend
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make the testcase correct.Bill Wendling2007-02-231-2/+2
| | | | llvm-svn: 34543
* Testcase for PR1164Bill Wendling2007-02-231-0/+13
| | | | llvm-svn: 34542
* PR1164:Bill Wendling2007-02-231-1/+1
| | | | | | | Generate local names with a "llvm_cbe_" prefix using the actual name of the variable instead of a temporary name. llvm-svn: 34540
* Update this test to compile properly and check against the correctReid Spencer2007-02-151-10/+9
| | | | | | string generated by the CBE. This is no longer an XFAIL. llvm-svn: 34327
* testcase for pr1181Chris Lattner2007-02-061-0/+14
| | | | llvm-svn: 33956
* For PR761:Reid Spencer2007-01-262-8/+6
| | | | | | | | | | | | | | Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
* For PR1028:Reid Spencer2007-01-171-0/+12
| | | | | | | | | Ensure the CBE generates calls to GCC builtins for stack_save and stack_restore when it encounters the corresponding intrinsics. Patch by Gordon Henriksen. llvm-svn: 33312
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-1749-0/+496
llvm-svn: 33296
OpenPOWER on IntegriCloud