summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* Include some tests for the recently committed ELF section directiveMatt Fleming2010-07-208-0/+48
| | | | | | handlers. llvm-svn: 108938
* Testcase for llvm-gcc commit r108910.Eric Christopher2010-07-201-0/+10
| | | | llvm-svn: 108918
* Add new AVX instruction vinsertf128Bruno Cardoso Lopes2010-07-202-0/+16
| | | | llvm-svn: 108892
* Fix SCEV denormalization of expressions where the exit value fromDan Gohman2010-07-201-0/+99
| | | | | | | one loop is involved in the increment of an addrec for another loop. This fixes rdar://8168938. llvm-svn: 108863
* update tests for smarter BIC usageJim Grosbach2010-07-203-6/+4
| | | | llvm-svn: 108846
* The same problem was being tracked in PR7652.Duncan Sands2010-07-201-0/+1
| | | | llvm-svn: 108843
* Fix PR7174, a couple o Mips fixes:Bruno Cardoso Lopes2010-07-201-0/+33
| | | | | | | | | | | - Fix a typo for PIC check during jmp table lowering - Also fix the "first jump table basic block is not considered only reachable by fall through" problem, use this ad-hoc solution until I come up with something better. Patch by stetorvs@gmail.com llvm-svn: 108820
* Fix Mips PR7473. Patch by stetorvs@gmail.comBruno Cardoso Lopes2010-07-201-0/+21
| | | | llvm-svn: 108816
* x86_32 tests for vbroadcastBruno Cardoso Lopes2010-07-201-0/+16
| | | | llvm-svn: 108789
* Add AVX vbroadcast new instructionBruno Cardoso Lopes2010-07-201-0/+16
| | | | llvm-svn: 108788
* Add 256-bit vaddsub, vhadd, vhsub, vblend and vdpp instructions!Bruno Cardoso Lopes2010-07-192-0/+144
| | | | llvm-svn: 108769
* After a custom inserter, in a block which has constant instructions,Dan Gohman2010-07-191-0/+16
| | | | | | | update the current basic block in addition to the current insert position, so that they remain consistent. This fixes rdar://8204072. llvm-svn: 108765
* X86: Mark JMP{32,64}[mr] as requires 32-bit/64-bit mode. They are the sameDaniel Dunbar2010-07-192-0/+6
| | | | | | | | instruction, we only want to allow the one for the current subtarget. - This also fixes suffix matching for jmp instructions, because it eliminates the ambiguity between 'jmpl' and 'jmpq'. llvm-svn: 108746
* Testcase for 108732 (8195660).Dale Johannesen2010-07-191-0/+21
| | | | llvm-svn: 108733
* Fix PR 7662.Devang Patel2010-07-191-0/+24
| | | | | | Do not try to insert local variable info to a DIE used for function declaration. llvm-svn: 108731
* Testcase for r108687.Owen Anderson2010-07-191-0/+16
| | | | llvm-svn: 108689
* Remove r108639 now that it is handled by InstCombine instead.Owen Anderson2010-07-191-17/+0
| | | | llvm-svn: 108688
* X86-64: Mark WINCALL and more tail call instructions as code gen only.Daniel Dunbar2010-07-191-1/+1
| | | | llvm-svn: 108685
* MC/X86: We now match instructions like "incl %eax" correctly for the arch we areDaniel Dunbar2010-07-191-3/+3
| | | | | | assembling; remove crufty custom cleanup code. llvm-svn: 108681
* tests: Force another triple.Daniel Dunbar2010-07-191-1/+1
| | | | llvm-svn: 108666
* tests: Force triples.Daniel Dunbar2010-07-182-2/+2
| | | | llvm-svn: 108658
* MC/AsmParser: Fix .abort and .secure_log_unique to accept arbitrary tokenDaniel Dunbar2010-07-181-3/+3
| | | | | | sequences, not just strings. llvm-svn: 108655
* MC/AsmParser: Add macro argument substitution support.Daniel Dunbar2010-07-182-0/+45
| | | | llvm-svn: 108654
* MC/AsmParser: Add basic support for macro instantiation.Daniel Dunbar2010-07-181-1/+1
| | | | llvm-svn: 108653
* MC/AsmParser: Add basic parsing support for .macro definitions.Daniel Dunbar2010-07-181-4/+19
| | | | llvm-svn: 108652
* daniel doesn't hate me, he hates macpython 2.5, whichChris Lattner2010-07-181-3/+0
| | | | | | is a very reasonable position on life! llvm-svn: 108650
* MC/AsmParser: Add .macros_{off,on} support, not that makes sense since we don'tDaniel Dunbar2010-07-181-0/+8
| | | | | | support macros. llvm-svn: 108649
* Add a testcase for r108639.Owen Anderson2010-07-181-0/+17
| | | | llvm-svn: 108640
* Another attempt at getting the clang self-host to like my instcombine patch.Owen Anderson2010-07-171-0/+26
| | | | llvm-svn: 108614
* Add combiner patterns to more effectively utilize the BFI (bitfield insert)Jim Grosbach2010-07-172-0/+46
| | | | | | | instruction for non-constant operands. This includes the case referenced in the README.txt regarding a bitfield copy. llvm-svn: 108608
* Test for ELF .size directive.Eli Friedman2010-07-171-0/+8
| | | | llvm-svn: 108607
* Add basic support to code-gen the ARM/Thumb2 bit-field insert (BFI) instructionJim Grosbach2010-07-162-0/+34
| | | | | | | and a combine pattern to use it for setting a bit-field to a constant value. More to come for non-constant stores. llvm-svn: 108570
* Consider this function:Bill Wendling2010-07-164-16/+27
| | | | | | | | | | | | | | | | | | | | | | void foo() { __builtin_unreachable(); } It will output the following on Darwin X86: _func1: Leh_func_begin0: pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: Leh_func_end0: This prolog adds a new Call Frame Information (CFI) row to the FDE with an address that is not within the address range of the code it describes -- part is equal to the end of the function -- and therefore results in an invalid EH frame. If we emit a nop in this situation, then the CFI row is now within the address range. llvm-svn: 108568
* Remove the X86::FP_REG_KILL pseudo-instruction and the X86FloatingPointRegKillJakob Stoklund Olesen2010-07-161-133/+0
| | | | | | | | | pass that inserted it. It is no longer necessary to limit the live ranges of FP registers to a single basic block. llvm-svn: 108536
* Feed the right output into FileCheck.Benjamin Kramer2010-07-161-2/+2
| | | | llvm-svn: 108523
* Arrays and vectors with different numbers of elements are not equivalent.Nick Lewycky2010-07-161-0/+18
| | | | llvm-svn: 108517
* LoopSimplify does not update domfrontier correctly.Tobias Grosser2010-07-161-0/+20
| | | | | | This fixes PR7649. llvm-svn: 108513
* Remove many calls to TII::isMoveInstr. Targets should be producing COPY anyway.Jakob Stoklund Olesen2010-07-161-1/+1
| | | | | | TII::isMoveInstr is going tobe completely removed. llvm-svn: 108507
* Add forgotten test case.Jakob Stoklund Olesen2010-07-161-0/+28
| | | | llvm-svn: 108506
* Use the source-order scheduler instead of the "fast" scheduler at -O0,Dan Gohman2010-07-162-3/+3
| | | | | | | because it's more likely to keep debug line information in its original order. llvm-svn: 108496
* Also revert 108422, it's causing some test failures.Eric Christopher2010-07-161-15/+0
| | | | | | Working on testcases for Owen. llvm-svn: 108494
* Fix this test.Dan Gohman2010-07-161-1/+1
| | | | llvm-svn: 108491
* The SelectionDAGBuilder's handling of debug info, on rareDale Johannesen2010-07-161-0/+147
| | | | | | | | | | occasions, caused code to be generated in a different order. All cases I've seen involved float softening in the type legalizer, and this could be perhaps be fixed there, but it's better not to generate things differently in the first place. 7797940 (6/29/2010..7/15/2010). llvm-svn: 108484
* Revert. This isn't the correct way to go.Bill Wendling2010-07-152-12/+3
| | | | llvm-svn: 108478
* Fix the order that SCEVExpander considers add operands in so thatDan Gohman2010-07-151-0/+40
| | | | | | | it doesn't miss an opportunity to form a GEP, regardless of the relative loop depths of the operands. This fixes rdar://8197217. llvm-svn: 108475
* Handle code gen for the unreachable instruction if it's the only instruction inBill Wendling2010-07-152-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the function. We'll just turn it into a "trap" instruction instead. The problem with not handling this is that it might generate a prologue without the equivalent epilogue to go with it: $ cat t.ll define void @foo() { entry: unreachable } $ llc -o - t.ll -relocation-model=pic -disable-fp-elim -unwind-tables .section __TEXT,__text,regular,pure_instructions .globl _foo .align 4, 0x90 _foo: ## @foo Leh_func_begin0: ## BB#0: ## %entry pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: Leh_func_end0: ... The unwind tables then have bad data in them causing all sorts of problems. Fixes <rdar://problem/8096481>. llvm-svn: 108473
* Split -enable-finite-only-fp-math to two options:Evan Cheng2010-07-154-5/+5
| | | | | | -enable-no-nans-fp-math and -enable-no-infs-fp-math. All of the current codegen fp math optimizations only care whether the fp arithmetics arguments and results can never be NaN. llvm-svn: 108465
* fix the definitions of ConstTextCoalSection/ConstDataCoalSectionChris Lattner2010-07-151-2/+2
| | | | | | | | | | | to keep "Text" in sync with the "pure instructions" section attribute. Lack of this attribute was preventing the assembler from emitting multibyte noops instructions for templates (and inlines, and other coalesced stuff) and was causing the assembler to mismatch .o files. This fixes rdar://8018335 llvm-svn: 108461
* Fix crash reported in PR7653.Devang Patel2010-07-151-0/+12
| | | | llvm-svn: 108441
* Watch out for a constant offset cancelling out a base register, formingDan Gohman2010-07-151-0/+44
| | | | | | | a zero. This situation arrises in Fortran code with induction variables that start at 1 instead of 0. This fixes PR7651. llvm-svn: 108424
OpenPOWER on IntegriCloud