summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MSP430
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary leading comment characters in lit-only fileDavid Blaikie2013-03-181-1/+1
| | | | llvm-svn: 177327
* Include '.test' suffix in target specific lit configs that need itDavid Blaikie2013-03-181-1/+1
| | | | | | | | | | Apparently my final cleanup to use a relevant suffix for these tests before committing r176831 caused them to stop running since lit wasn't configured to run tests with that suffix in those directories (why don't we just have a global suffix list?). So, add the suffix to the relevant directories & fix the test that has bitrotted over the last week due to my debug info schema changes. llvm-svn: 177315
* Remove duplicate test contents.David Blaikie2013-03-112-28/+1
| | | | llvm-svn: 176831
* Add support for varargs functions for msp430.Anton Korobeynikov2012-11-211-0/+50
| | | | | | Patch by Job Noorman! llvm-svn: 168440
* Add support for byval args. Patch by Job Noorman!Anton Korobeynikov2012-11-211-0/+26
| | | | llvm-svn: 168439
* Fix fallout from RegInfo => FrameLowering refactoring on MSP430.Anton Korobeynikov2012-10-171-0/+17
| | | | | | Patch by Job Noorman! llvm-svn: 166108
* Reapply r161633-161634 "Partition use lists so defs always come before uses.""Jakob Stoklund Olesen2012-08-101-1/+1
| | | | | | | No changes to these patches, MRI needed to be notified when changing uses into defs and vice versa. llvm-svn: 161644
* Revert r161633-161634 "Partition use lists so defs always come before uses."Jakob Stoklund Olesen2012-08-091-1/+1
| | | | | | These commits broke a number of buildbots. llvm-svn: 161640
* Don't use pointer-pointers for the register use lists.Jakob Stoklund Olesen2012-08-091-1/+1
| | | | | | | | | | | Use a more conventional doubly linked list where the Prev pointers form a cycle. This means it is no longer necessary to adjust the Prev pointers when reallocating the VRegInfo array. The test changes are required because the register allocation hint is using the use-list order to break ties. llvm-svn: 161633
* These tests used intrinsics with the wrong prototype. They weren't caught ↵Chris Lattner2012-05-271-3/+3
| | | | | | | | | because the old verifier just checked that something "was a pointer", but not that the pointee was correct. llvm-svn: 157544
* Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnuEli Bendersky2012-03-251-8/+1
| | | | | | | | | | | | | | * 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-162-5/+13
| | | | | | | | 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-278-15/+15
| | | | | | instead of 'volatile load', which is archaic. llvm-svn: 145171
* Remove the explicit request for "Latency" scheduling from MSP430,Dan Gohman2011-10-242-2/+2
| | | | | | as the Latency scheduler is going away. llvm-svn: 142811
* Fix register-dependent test in MSP430.Jakob Stoklund Olesen2011-05-041-1/+1
| | | | llvm-svn: 130815
* Enhance ComputeMaskedBits to know that aligned frameindexesChris Lattner2011-02-131-1/+1
| | | | | | | | | | | | | | | | | have their low bits set to zero. This allows us to optimize out explicit stack alignment code like in stack-align.ll:test4 when it is redundant. Doing this causes the code generator to start turning FI+cst into FI|cst all over the place, which is general goodness (that is the canonical form) except that various pieces of the code generator don't handle OR aggressively. Fix this by introducing a new SelectionDAG::isBaseWithConstantOffset predicate, and using it in places that are looking for ADD(X,CST). The ARM backend in particular was missing a lot of addressing mode folding opportunities around OR. llvm-svn: 125470
* If dbg_declare() or dbg_value() is not lowered by isel then emit DEBUG ↵Devang Patel2010-12-061-24/+19
| | | | | | message instead of creating DBG_VALUE for undefined value in reg0. llvm-svn: 121059
* Inline asm mult-alt constraint tests.John Thompson2010-11-021-0/+323
| | | | llvm-svn: 118107
* CombinerAA is now reordering these stores.Owen Anderson2010-09-201-1/+1
| | | | llvm-svn: 114354
* Insert ANY_EXTEND node instead of invalid truncate during DAG Combining (X & 1),Anton Korobeynikov2010-05-011-0/+27
| | | | | | when needed. This fixes PR7001 llvm-svn: 102838
* Do folding for indirect branches, where possibleAnton Korobeynikov2010-05-011-0/+29
| | | | llvm-svn: 102836
* Implement indirect branches on MSP430Anton Korobeynikov2010-05-011-0/+41
| | | | llvm-svn: 102835
* add newlines at the end of files.Chris Lattner2010-04-072-2/+2
| | | | llvm-svn: 100705
* Split big test into multiple directories to cater toDale Johannesen2010-04-071-0/+33
| | | | | | those who don't build all targets. llvm-svn: 100688
* Do not use '&' prefix for globals when register base field is non-zero, ↵Anton Korobeynikov2010-03-064-8/+8
| | | | | | | | otherwise msp430-as will silently miscompile the code (TI's assembler report an error though). This fixes PR6349 llvm-svn: 97877
* Fix some issues in WalkChainUsers dealing with Chris Lattner2010-03-021-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | CopyToReg/CopyFromReg/INLINEASM. These are annoying because they have the same opcode before an after isel. Fix this by setting their NodeID to -1 to indicate that they are selected, just like what automatically happens when selecting things that end up being machine nodes. With that done, give IsLegalToFold a new flag that causes it to ignore chains. This lets the HandleMergeInputChains routine be the one place that validates chains after a match is successful, enabling the new hotness in chain processing. This smarter chain processing eliminates the need for "PreprocessRMW" in the X86 and MSP430 backends and enables MSP to start matching it's multiple mem operand instructions more aggressively. I currently #if out the dead code in the X86 backend and MSP backend, I'll remove it for real in a follow-on patch. The testcase changes are: test/CodeGen/X86/sse3.ll: we generate better code test/CodeGen/X86/store_op_load_fold2.ll: PreprocessRMW was miscompiling this before, we now generate correct code Convert it to filecheck while I'm at it. test/CodeGen/MSP430/Inst16mm.ll: Add a testcase for mem/mem folding to make anton happy. :) llvm-svn: 97596
* Change the scheduler from adding nodes in allnodes orderChris Lattner2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | to adding them in a determinstic order (bottom up from the root) based on the structure of the graph itself. This updates tests for some random changes, interesting bits: CodeGen/Blackfin/promote-logic.ll no longer crashes. I have no idea why, but that's good right? CodeGen/X86/2009-07-16-LoadFoldingBug.ll also fails, but now compiles to have one fewer constant pool entry, making the expected load that was being folded disappear. Since it is an unreduced mass of gnast, I just removed it. This fixes PR6370 llvm-svn: 97023
* no need to run llvm-as here.Chris Lattner2010-02-225-5/+5
| | | | llvm-svn: 96826
* IT turns out that during jumpless setcc lowering eq and ne were swapped.Anton Korobeynikov2010-02-211-22/+22
| | | | | | This fixes PR6348 llvm-svn: 96734
* Reenable testsAnton Korobeynikov2010-01-152-8/+6
| | | | llvm-svn: 93555
* Temporary disable testsAnton Korobeynikov2010-01-152-0/+2
| | | | llvm-svn: 93501
* Add variable-width shifts for MSP430Anton Korobeynikov2010-01-141-0/+51
| | | | llvm-svn: 93468
* Delete useless trailing semicolons.Dan Gohman2010-01-051-4/+4
| | | | llvm-svn: 92740
* Use more sensible type for flags in asms. PR 5570.Dale Johannesen2009-12-231-0/+29
| | | | | | Patch by Sylve`re Teissier (sorry, ASCII only). llvm-svn: 91988
* Add testcase for PR5703Anton Korobeynikov2009-12-221-0/+13
| | | | llvm-svn: 91931
* Lower setcc branchless, if this is profitable.Anton Korobeynikov2009-12-111-0/+116
| | | | | | Based on the patch by Brian Lucas! llvm-svn: 91175
* Reduce (cmp 0, and_su (foo, bar)) into (bit foo, bar). This saves extra ↵Anton Korobeynikov2009-12-081-0/+166
| | | | | | instruction. Patch inspired by Brian Lucas! llvm-svn: 90819
* While this test is testing a problem in the generic part of codegen,Duncan Sands2009-11-271-0/+36
| | | | | | | | | the problem only shows for msp430 and pic16 which is why it specifies them using -march. But it is wrong to put such tests in CodeGen/Generic, since not everyone builds these targets. Put a copy of the test in each of the target test directories. llvm-svn: 90005
* Add and-not (bic) patterns. Based heavily on patch by Brian Lucas!Anton Korobeynikov2009-11-086-2/+54
| | | | llvm-svn: 86471
* Fix invalid operand updates & implement post-inc memory operandsAnton Korobeynikov2009-11-081-1/+90
| | | | llvm-svn: 86466
* It is invalid to infer the value type from the result #0 of the nodeAnton Korobeynikov2009-11-081-0/+64
| | | | | | since the instruction might use the other result of different type. llvm-svn: 86462
* Add some dummy support for post-incremented loadsAnton Korobeynikov2009-11-071-0/+25
| | | | llvm-svn: 86385
* Add 8 bit libcalls and make use of them for msp430Anton Korobeynikov2009-11-071-0/+22
| | | | llvm-svn: 86384
* Initial support for addrmode handling. Tests by Brian Lucas!Anton Korobeynikov2009-11-076-2/+292
| | | | llvm-svn: 86382
* Use special DAG-to-DAG preprocessing to allow mem-mem instructions to be ↵Anton Korobeynikov2009-10-222-2/+0
| | | | | | | | selected. Yay for ASCII graphics! llvm-svn: 84808
* Add DAG printing for RMW stuff debuggingAnton Korobeynikov2009-10-212-2/+2
| | | | llvm-svn: 84776
* RMW preprocessing stuff was incorrect. Grab the stuff from x86 backend and ↵Anton Korobeynikov2009-10-212-0/+2
| | | | | | disable some tests until it will be clever enough to handle them. llvm-svn: 84775
* Add reg-imm testsAnton Korobeynikov2009-10-212-0/+74
| | | | llvm-svn: 84705
* Eliminate some redundant llvm-as calls.Benjamin Kramer2009-10-1210-10/+10
| | | | llvm-svn: 83837
* Add missed mem-mem move patternsAnton Korobeynikov2009-10-112-0/+16
| | | | llvm-svn: 83812
OpenPOWER on IntegriCloud