summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* We can't return SSE/MMX vectors if SSE is disabled.Dale Johannesen2010-09-241-3/+5
| | | | llvm-svn: 114745
* Revert 114678 and 114667 to see ifRafael Espindola2010-09-241-5/+2
| | | | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost gets happy. llvm-svn: 114742
* Attach a DebugLoc to a GC point in order to get precise information in the ↵Nicolas Geoffray2010-09-241-6/+8
| | | | | | JIT of a GC point. llvm-svn: 114736
* MC/AsmParser: Handle a missed case of floating literals in the lexer.Daniel Dunbar2010-09-241-1/+1
| | | | llvm-svn: 114733
* Fix a potential null dereference bug.Evan Cheng2010-09-241-4/+12
| | | | llvm-svn: 114723
* MC/AsmParser: Support .single and .double for embedding floating point literals.Daniel Dunbar2010-09-241-0/+56
| | | | | | | - I believe more modern 'gas' supports a more enhanced set of arithmetic on them, but for now the only thing we can do is emit them as data. llvm-svn: 114719
* MC/Lexer: Add 'Real' token type for floating point literals.Daniel Dunbar2010-09-241-5/+24
| | | | llvm-svn: 114718
* MC: Add missing ')' in diagnostic.Daniel Dunbar2010-09-241-1/+1
| | | | llvm-svn: 114717
* Revert r114703 and r114702, removing the isConditionalMove flag from ↵Owen Anderson2010-09-235-10/+10
| | | | | | | | instructions. After further reflection, this isn't going to achieve the purpose I intended it for. Back to the drawing board! llvm-svn: 114710
* Set alignment operand for NEON VST instructions.Bob Wilson2010-09-231-14/+22
| | | | llvm-svn: 114709
* ARM-mode eh.sjlj.setjmp pseudo MC-inst lowering expansionJim Grosbach2010-09-231-0/+77
| | | | llvm-svn: 114707
* #+4 --> #4 for consistency with other asm outputJim Grosbach2010-09-231-2/+2
| | | | llvm-svn: 114706
* Fix formatting of output .s codeJim Grosbach2010-09-231-1/+1
| | | | llvm-svn: 114705
* Add isConditionalMove bits to X86 and ARM instructions.Owen Anderson2010-09-235-10/+10
| | | | llvm-svn: 114703
* Set alignment operand for NEON VLD instructions.Bob Wilson2010-09-231-0/+16
| | | | llvm-svn: 114696
* Correctly handle weak undefined symbols. Before we would get a invalid bindingRafael Espindola2010-09-231-5/+20
| | | | | | (2 == STB_WEAK | STB_GLOBAL). llvm-svn: 114690
* never mind. I can't read, apparentlyJim Grosbach2010-09-231-1/+1
| | | | llvm-svn: 114689
* Fix r114632. Return if the only terminator is an unconditional branch after ↵Evan Cheng2010-09-231-3/+5
| | | | | | the redundant ones are deleted. llvm-svn: 114688
* Fix opcode value for the 'trap' instruction, keeping the type suffix on theJim Grosbach2010-09-231-1/+1
| | | | | | constant. Hopefully the non-Darwin bots will like it... llvm-svn: 114687
* explicit 'unsigned long' on constant value. Hopefully make bots happier.Jim Grosbach2010-09-231-1/+1
| | | | llvm-svn: 114686
* Unbreak build. Jim, please review.Benjamin Kramer2010-09-231-4/+4
| | | | llvm-svn: 114684
* Revert 114634 for now since buildbot claim it broke Clang self-hosting. I ↵Evan Cheng2010-09-231-4/+6
| | | | | | doubt it but it's possible it's exposing another bug somewhere. llvm-svn: 114681
* Clean up the 'trap' instruction printing a bit. Non-Darwin assemblers don'tJim Grosbach2010-09-233-6/+36
| | | | | | | | | | | | (yet) recognize the 'trap' mnemonic, so we use .short/.long to emit the opcode directly. On Darwin, however, we do want the mnemonic for more readable assembly code and better disassembly. Adjust the .td file to use the 'trap' mnemonic and handle using the binutils workaround in the assembly printer. Also tweak the formatting of the opcode values to make them consistent between the MC printer and the old printer. llvm-svn: 114679
* Correctly compute the offset of the symbol. Forgot these bits from theRafael Espindola2010-09-231-1/+4
| | | | | | last commit. llvm-svn: 114678
* nuke unused varJim Grosbach2010-09-231-1/+0
| | | | llvm-svn: 114676
* Represent relocations against local symbols as relocations against the sectionRafael Espindola2010-09-231-1/+1
| | | | | | | | | they are in. Both ways should be equivalent, but gas produces relocations against the section. Roman wrote the patch, I added the test. llvm-svn: 114667
* Fix llvm-extract so that it changes the linkage of all GlobalValues toBob Wilson2010-09-231-16/+14
| | | | | | | "external" even when doing lazy bitcode loading. This was broken because a function that is not materialized fails the !isDeclaration() test. llvm-svn: 114666
* Fix VS 2010 build.Oscar Fuentes2010-09-231-4/+4
| | | | | | Patch by Nathan Jeffords! llvm-svn: 114661
* Fix the FIXME.Rafael Espindola2010-09-231-1/+1
| | | | llvm-svn: 114639
* Follow up to r114630. Do not optimize away unconditional branch following a ↵Evan Cheng2010-09-231-6/+4
| | | | | | conditional one. llvm-svn: 114634
* Disable codegen prepare critical edge splitting. Machine instruction passes nowEvan Cheng2010-09-231-1/+5
| | | | | | break critical edges on demand. llvm-svn: 114633
* If there are multiple unconditional branches terminating a block, eliminate allEvan Cheng2010-09-231-1/+17
| | | | | | | but the first one. Those will never be executed. There was logic to do this but it was faulty. llvm-svn: 114632
* Don't sink insert_subreg, subreg_to_reg, reg_sequence. They are meant to beEvan Cheng2010-09-231-1/+10
| | | | | | close to their sources to facilitate coalescing. llvm-svn: 114631
* SDISel should not optimize a unconditional branch following a conditional branchEvan Cheng2010-09-231-4/+5
| | | | | | | | | | | | when the unconditional branch destination is the fallthrough block. The canonicalization makes it easier to allow optimizations on DAGs to invert conditional branches. The branch folding pass (and AnalyzeBranch) will clean up the unnecessary unconditional branches later. This is one of the patches leading up to disabling codegen prepare critical edge splitting. llvm-svn: 114630
* Moved the PBQP allocator class out of the header and back in to the cpp file ↵Lang Hames2010-09-231-60/+190
| | | | | | | | | | | | | | to hide the gory details. Allocator instances can now be created by calling createPBQPRegisterAllocator. Tidied up use of CoalescerPair as per Jakob's suggestions. Made the new PBQPBuilder based construction process the default. The internal construction process remains in-place and available via -pbqp-builder=false for now. It will be removed shortly if the new process doesn't cause any regressions. llvm-svn: 114626
* Fixed a crash in the enhanced disassembler whereSean Callanan2010-09-231-0/+2
| | | | | | | because of the lack of a newline, AsmToken::Eof was being found instead of AsmToken::EndOfStatement. llvm-svn: 114621
* Add support for ELF PLT references for ARM MC asm printing. Adding aJim Grosbach2010-09-225-18/+51
| | | | | | | | new VariantKind to the MCSymbolExpr seems like overkill, but I'm not sure there's a more straightforward way to get the printing difference captured. (i.e., x86 uses @PLT, ARM uses (PLT)). llvm-svn: 114613
* Enable a few additional asserts in MC instruction lowering.Jim Grosbach2010-09-221-9/+6
| | | | llvm-svn: 114601
* A select between a constant and zero, when fed by a bit test, can be efficientlyOwen Anderson2010-09-221-0/+29
| | | | | | | lowered using a series of shifts. Fixes <rdar://problem/8285015>. llvm-svn: 114599
* Fix PR8201: Update the code to call via X86::CALL64pcrel32 in the 64-bit case.Cameron Esfahani2010-09-221-2/+3
| | | | llvm-svn: 114597
* Change VDUPLANE DAG combiner to just return the result instead of callingBob Wilson2010-09-221-5/+3
| | | | | | | | CombineTo to avoid putting the result on the worklist. I don't think it makes much difference for now, but it might help someday as we add more DAG combine optimizations. llvm-svn: 114595
* Avoid some Mach-O specific alignment being done on ELF.Rafael Espindola2010-09-225-23/+28
| | | | llvm-svn: 114594
* allow target-specific label suffixes, patch by Yuri Gribov!Chris Lattner2010-09-222-1/+2
| | | | llvm-svn: 114592
* Combine both VMOVDRR(VMOVRRD) and VMOVRRD(VMOVDRR), instead of just doing oneBob Wilson2010-09-221-28/+35
| | | | | | | | of those. Refactor to share code for handling BUILD_VECTOR(VMOVRRD). I don't have a testcase that exercises this, but it seems like an obvious good thing to do. llvm-svn: 114589
* Teach memdep about TBAA tags.Dan Gohman2010-09-221-71/+95
| | | | llvm-svn: 114588
* Use DW_OP_fbreg when offset is based on frame register.Devang Patel2010-09-221-0/+10
| | | | llvm-svn: 114585
* add FIXMEJim Grosbach2010-09-221-0/+1
| | | | llvm-svn: 114578
* Temporarily work around new address lowering while I figure out whatEric Christopher2010-09-221-1/+2
| | | | | | needs to happen for darwin. llvm-svn: 114577
* Remove a few commented out bitsJim Grosbach2010-09-221-14/+0
| | | | llvm-svn: 114576
* Fix typo and add a FIXME.Rafael Espindola2010-09-221-1/+2
| | | | llvm-svn: 114570
OpenPOWER on IntegriCloud