summaryrefslogtreecommitdiff
path: root/test/LLVMC
Commit message (Collapse)AuthorAge
* Remove -llvmc-temp-hack from tblgen.Mikhail Glushenkov2010-10-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117197 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Add a test for the -c flag.Mikhail Glushenkov2010-10-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116611 91177308-0d34-0410-b5e6-96231b3b80d8
* Comments.Mikhail Glushenkov2010-10-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116476 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize tblgen's dag parsing logic to handle arbitrary expressionsChris Lattner2010-10-06
| | | | | | | | | | | | | | | | as the operator of the dag. Specifically, this allows parsing things like (F.x 4) in addition to just (a 4). Unfortunately, this runs afoul of an idiom being used by llvmc. It is using dags like (foo [1,2,3]) to represent a list of stuff being passed into foo. With this change, this is parsed as a [1,2,3] subscript on foo instead of being the first argument to the dag. Cope with this in the short term by requiring a "-llvmc-temp-hack" argument to tblgen to get the old parsing behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115742 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Support '-emit-llvm -S' with -opt.Mikhail Glushenkov2010-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114541 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Allow multiple output languages.Mikhail Glushenkov2010-09-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114433 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: make -x work with unknown suffixes.Mikhail Glushenkov2010-09-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113972 91177308-0d34-0410-b5e6-96231b3b80d8
* Test: Fix LLVMC tests on CMake.Michael J. Spencer2010-08-30
| | | | | | The CMake build didn't define TEST_COMPILE_CXX_CMD. The tests assumed gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112480 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Make syntax more consistent.Mikhail Glushenkov2010-08-23
| | | | | | CompilationGraph and LanguageMap definitions do not use special syntax anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111862 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: Fix alias generation.Mikhail Glushenkov2010-08-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111662 91177308-0d34-0410-b5e6-96231b3b80d8
* Update LLVMC tests for r111620.Benjamin Kramer2010-08-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111621 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests.Mikhail Glushenkov2010-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111096 91177308-0d34-0410-b5e6-96231b3b80d8
* One more XFAIL.Mikhail Glushenkov2010-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111010 91177308-0d34-0410-b5e6-96231b3b80d8
* More XFAILs.Mikhail Glushenkov2010-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111008 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an XFAIL.Mikhail Glushenkov2010-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111004 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -fexceptions from llvmc tests.Mikhail Glushenkov2010-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110999 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: fix two tests, remove XFAILs.Mikhail Glushenkov2010-08-13
| | | | | | | Tested on Linux and Darwin; please add platform-specific XFAILs/mail me a bug report if this still fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110998 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for the -filelist fix.Mikhail Glushenkov2010-07-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107363 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. WeJeffrey Yasskin2010-03-21
| | | | | | | | | don't care about leaks from tblgen, and I assume we don't care about valgrind errors in llvm-gcc/g++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99115 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove `ignore` from LLVMC/TestWarnings.td. This avoidsJeffrey Yasskin2010-03-19
| | | | | | | | | https://bugs.kde.org/show_bug.cgi?id=231257 and seems not to have been needed in the first place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98917 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the test suite.Mikhail Glushenkov2010-02-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96921 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMC/MultiplePluginPriorities.td: Generally XFAIL this test for now, it isDaniel Dunbar2010-02-22
| | | | | | | still failing during (one) llvm-gcc powerpc build, and is also failing on my x86_64-apple-darwin10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96781 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r96130 ("Forward parameter options as '-option=param'").Mikhail Glushenkov2010-02-15
| | | | | | This behaviour must be configurable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96210 91177308-0d34-0410-b5e6-96231b3b80d8
* Forward parameter options as '-option=parameter'.Mikhail Glushenkov2010-02-13
| | | | | | | Some tools do not like the '-option parameter' form. Should this be configurable? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96130 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-disable for Darwin; I was mistaken to think this was fixed.Dale Johannesen2010-02-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95688 91177308-0d34-0410-b5e6-96231b3b80d8
* This test passes now on ppc darwin, so reenable it.Dale Johannesen2010-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95264 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL for PPC Darwin.Bill Wendling2010-02-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95121 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].Duncan Sands2010-01-27
| | | | | | | It causes g++ to complain: unrecognized option '-Qunused-arguments' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94670 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress clang warning about unused arguments.Daniel Dunbar2010-01-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94666 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove an XFAIL.Daniel Dunbar2009-12-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92036 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow (set_option SwitchOption, true).Mikhail Glushenkov2009-12-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91997 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL these tests on powerpc, under the assumption that no one cares. If you ↵Daniel Dunbar2009-12-21
| | | | | | care, feel free to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91826 91177308-0d34-0410-b5e6-96231b3b80d8
* Make 'set_option' work with list options.Mikhail Glushenkov2009-12-18
| | | | | | This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"]) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91679 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a 'set_option' action for use in OptionPreprocessor.Mikhail Glushenkov2009-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91594 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvmc tests to FileCheck.Mikhail Glushenkov2009-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91420 91177308-0d34-0410-b5e6-96231b3b80d8
* Support hook invocation from 'append_cmd'.Mikhail Glushenkov2009-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91419 91177308-0d34-0410-b5e6-96231b3b80d8
* Validate the generated C++ code in llvmc tests.Mikhail Glushenkov2009-12-15
| | | | | | | | | | Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91404 91177308-0d34-0410-b5e6-96231b3b80d8
* Pipe 'grep' output to 'count'.Mikhail Glushenkov2009-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow $CALL(Hook, '$INFILE') for non-join tools.Mikhail Glushenkov2009-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91402 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test for the 'init' option property.Mikhail Glushenkov2009-12-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91259 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement 'forward_value' and 'forward_transformed_value'.Mikhail Glushenkov2009-12-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90770 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup some unused RUN lines.Daniel Dunbar2009-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86450 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test for OptionPreprocessor.Mikhail Glushenkov2009-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85029 91177308-0d34-0410-b5e6-96231b3b80d8
* Disallow multiple instances of PluginPriority.Mikhail Glushenkov2009-10-17
| | | | | | | Several instances of PluginPriority in a single file most probably signifies a programming error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84350 91177308-0d34-0410-b5e6-96231b3b80d8
* Input files should go before all other options.Mikhail Glushenkov2009-10-08
| | | | | | Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83524 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a small issue with recent changes to this code.Mikhail Glushenkov2009-09-13
| | | | | | The 'false.c' file wasn't being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81709 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Use %abs_tmp instead of ./%t to make these tests portable to 'lit'.Daniel Dunbar2009-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81663 91177308-0d34-0410-b5e6-96231b3b80d8
* Sink llvm-gcc dependent tests into distinct subdirs.Daniel Dunbar2009-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81661 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite tests to not use Tcl substitution.Daniel Dunbar2009-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81660 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify LLVMC tests.Daniel Dunbar2009-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81659 91177308-0d34-0410-b5e6-96231b3b80d8