summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* add another testcaseDevang Patel2008-03-271-0/+13
| | | | llvm-svn: 48881
* New test case.Devang Patel2008-03-271-0/+7
| | | | llvm-svn: 48858
* Fix a memory bug: increment an iterator of a deleted machine instr.Evan Cheng2008-03-271-0/+24
| | | | llvm-svn: 48853
* Expose ExecutionEngine::getTargetData() to c and ocaml bindings.Erick Tryzelaar2008-03-271-1/+9
| | | | llvm-svn: 48851
* One more coalescer fix wrt deadness propagation.Evan Cheng2008-03-261-0/+28
| | | | llvm-svn: 48837
* Avoid commuting a def MI in order to coalesce a copy instruction away if any ↵Evan Cheng2008-03-261-0/+49
| | | | | | use of the same val# is a copy instruction that has already been coalesced. llvm-svn: 48833
* Use ## for comment delimiter on darwin x86-32, soDale Johannesen2008-03-251-0/+49
| | | | | | | | llvm's output .s files will go through gcc -std=c99 without triggering preprocesser errors. Approach suggested by Daveed Vandevoorde. llvm-svn: 48808
* Handle a special case xor undef, undef -> 0. Technically this should be ↵Evan Cheng2008-03-251-0/+11
| | | | | | transformed to undef. But this is such a common idiom (misuse) we are going to handle it. llvm-svn: 48792
* Handle a special case xor undef, undef -> 0. Technically this should be ↵Evan Cheng2008-03-251-0/+6
| | | | | | transformed to undef. But this is such a common idiom (misuse) we are going to handle it. llvm-svn: 48791
* Add CMP32mr and friends to the load-unfolding table. AmongDan Gohman2008-03-251-1/+1
| | | | | | | | other things, this allows the scheduler to unfold a load operand in the 2008-01-08-SchedulerCrash.ll testcase, so it now successfully clones the comparison to avoid a pushf+popf. llvm-svn: 48777
* Tests for the instruction iterator bindings.Gordon Henriksen2008-03-251-0/+35
| | | | llvm-svn: 48775
* Byebye llvm-upgrade!Tanya Lattner2008-03-25110-2138/+1823
| | | | llvm-svn: 48762
* lastRegisterUse() should ignore identity copies. Those will be erased.Evan Cheng2008-03-251-0/+30
| | | | llvm-svn: 48759
* check struct layoutDevang Patel2008-03-251-0/+1
| | | | llvm-svn: 48758
* Use the bit size of the operand instead of the hard-coded 32 to generate theBill Wendling2008-03-241-0/+25
| | | | | | mask. llvm-svn: 48750
* - SSE4.1 extractfps extracts a f32 into a gr32 register. Very useful! Not. ↵Evan Cheng2008-03-241-0/+30
| | | | | | Fix the instruction specification and teaches lowering code to use it only when the only use is a store instruction. llvm-svn: 48746
* Add incoming value from header only if phi node has any use inside the loop.Devang Patel2008-03-241-0/+69
| | | | llvm-svn: 48738
* Fix test name.Devang Patel2008-03-241-0/+0
| | | | llvm-svn: 48733
* apparently tclsh doesn't lex like bash. Weird.Chris Lattner2008-03-241-1/+1
| | | | llvm-svn: 48732
* pass the option so this test tests the right thing.Chris Lattner2008-03-241-2/+2
| | | | llvm-svn: 48731
* Add new test.Devang Patel2008-03-241-0/+87
| | | | llvm-svn: 48730
* Remove incorrect comment.Devang Patel2008-03-241-2/+0
| | | | llvm-svn: 48728
* APIntify SelectionDAG's EXTRACT_ELEMENT code.Dan Gohman2008-03-242-0/+30
| | | | llvm-svn: 48726
* Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if ↵Evan Cheng2008-03-241-0/+35
| | | | | | at least one of the (zext icmp) can be transformed to eliminate an icmp. llvm-svn: 48715
* Objective Caml bindings for basic block, function, global, and arg iterators.Gordon Henriksen2008-03-231-2/+118
| | | | llvm-svn: 48711
* New testcase.Bill Wendling2008-03-221-0/+10
| | | | llvm-svn: 48697
* Use normal naming convention for test.Owen Anderson2008-03-221-0/+0
| | | | llvm-svn: 48693
* Add testcase for prev. commit. Minor fixesAnton Korobeynikov2008-03-221-0/+6
| | | | llvm-svn: 48686
* Support chained aliases for LLVM IR printing. This fixes PR2145Anton Korobeynikov2008-03-221-0/+2
| | | | llvm-svn: 48684
* implement an initial hack at a straight-line store -> memset optimization.Chris Lattner2008-03-221-0/+55
| | | | | | | | This fires dozens of times across spec and multisource, but I don't know if it actually speeds stuff up. Hopefully the testers will show something nice :) llvm-svn: 48680
* Teach DAG combiner to commute commutable binary nodes in order to achieve ↵Evan Cheng2008-03-221-0/+27
| | | | | | sdisel CSE. llvm-svn: 48673
* Handle getresult instructions in different basic blocksDan Gohman2008-03-211-0/+15
| | | | | | | from their aggregate operands by moving the getresult instructions. llvm-svn: 48657
* Testcase for PR2160.Duncan Sands2008-03-211-0/+12
| | | | llvm-svn: 48655
* Add support for calls that return two FP values inChris Lattner2008-03-211-0/+39
| | | | | | ST(0)/ST(1). llvm-svn: 48634
* disable a bogus assertion.Chris Lattner2008-03-211-0/+10
| | | | llvm-svn: 48633
* Enable support for returning two long-double values in ST(0)/ST(1).Chris Lattner2008-03-211-0/+11
| | | | | | | | | | | | | | This allows us to compile fp-stack-2results.ll into: _test: fldz fld1 ret which returns 1 in ST(0) and 0 in ST(1). This is needed for x86-64 _Complex long double. llvm-svn: 48632
* Teach masked value is zero about add and sub, and use MVIZ toChris Lattner2008-03-211-0/+7
| | | | | | | | simplify things like (X & 4) >> 1 == 2 --> (X & 4) == 4. since it is obvious that the shift doesn't remove any bits. llvm-svn: 48631
* Undo 48570. Correctly match mmx shift instructions with an immediate operand.Evan Cheng2008-03-211-2/+2
| | | | llvm-svn: 48627
* Fix this xform: (sra (shl X, m), result_size) -> (sign_extend (trunc (shl X, ↵Evan Cheng2008-03-201-0/+14
| | | | | | result_size - n - m))) llvm-svn: 48578
* Keep track of analysis information inherited from Module pass manager.Devang Patel2008-03-201-0/+58
| | | | llvm-svn: 48576
* Add more patterns to match in the integer comparison test harnesses.Scott Michel2008-03-203-7/+26
| | | | | | | | Fix bugs encountered, mostly due to range matching for immediates; the CellSPU's 10-bit immediates are sign extended, covering a larger range of unsigned values. llvm-svn: 48575
* Add intrinsics to match mmx shift builtin's with immediate operand.Evan Cheng2008-03-191-0/+20
| | | | llvm-svn: 48569
* Add support for multiple return values for the PPC target byDan Gohman2008-03-191-0/+17
| | | | | | | converting call result lowering to use the CallingConvLowering infastructure. llvm-svn: 48552
* Fix X86's isTruncateFree to not claim that truncate to i1 is free. This ↵Christopher Lamb2008-03-191-1/+0
| | | | | | fixes Bill's testcase that failed for r48491. llvm-svn: 48542
* Upgrade tests.Tanya Lattner2008-03-1948-2357/+2209
| | | | llvm-svn: 48538
* Upgrade tests.Tanya Lattner2008-03-1926-723/+610
| | | | llvm-svn: 48536
* Upgrade tests to not use llvm-upgrade.Tanya Lattner2008-03-1923-273/+288
| | | | llvm-svn: 48530
* Upgrade tests to not use llvm-upgrade.Tanya Lattner2008-03-1923-480/+421
| | | | llvm-svn: 48529
* Remove llvm-upgrade and update tests.Tanya Lattner2008-03-1925-434/+333
| | | | llvm-svn: 48527
* Fixed a coalescer bug caused by a typo.Evan Cheng2008-03-191-0/+51
| | | | llvm-svn: 48526
OpenPOWER on IntegriCloud