Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | The vpermilps and vpermilpd have different behaviour regarding the | Bruno Cardoso Lopes | 2011-07-27 | 5 | -32/+156 | |
| | | | | | | | | | usage of the shuffle bitmask. Both work in 128-bit lanes without crossing, but in the former the mask of the high part is the same used by the low part while in the later both lanes have independent masks. Handle this properly and and add support for vpermilpd. llvm-svn: 136200 | |||||
* | Remove more dead code! | Bruno Cardoso Lopes | 2011-07-27 | 1 | -15/+5 | |
| | | | | llvm-svn: 136199 | |||||
* | Fix AliasSetTracker so that it doesn't make any assumptions about ↵ | Eli Friedman | 2011-07-27 | 3 | -70/+68 | |
| | | | | | | instructions it doesn't know about (like the atomic instructions I'm adding). llvm-svn: 136198 | |||||
* | Support .code32 and .code64 in X86 assembler. | Evan Cheng | 2011-07-27 | 11 | -20/+72 | |
| | | | | llvm-svn: 136197 | |||||
* | It is quiet possible that inlined function body is split into multiple ↵ | Devang Patel | 2011-07-27 | 2 | -16/+181 | |
| | | | | | | chunks of consequtive instructions. But, there is not any way to describe this in .debug_inline accelerator table used by gdb. However, describe non contiguous ranges of inlined function body appropriately using AT_range of DW_TAG_inlined_subroutine debug info entry. llvm-svn: 136196 | |||||
* | Remove these two directories. The tests can be ported to dragonegg if | Eric Christopher | 2011-07-27 | 37 | -328/+0 | |
| | | | | | | they're still wanted. llvm-svn: 136193 | |||||
* | Remove test/FrontendC, almost all of the tests have been migrated | Eric Christopher | 2011-07-26 | 362 | -5534/+0 | |
| | | | | | | to clang now, the rest are in process (6) or have been deleted. llvm-svn: 136191 | |||||
* | Add support for multi-way live range splitting. | Jakob Stoklund Olesen | 2011-07-26 | 1 | -64/+165 | |
| | | | | | | | | | | | | | | | | | | | | | When splitting global live ranges, it is now possible to split for multiple destination intervals at once. Previously, we only had the main and stack intervals. Each edge bundle is assigned to a split candidate, and splitAroundRegion will insert copies between the candidate intervals and the stack interval as needed. The multi-way splitting is used to split around compact regions when enabled with -compact-regions. The best candidate register still gets all the bundles it wants, but everything outside the main interval is first split around compact regions before we create single-block intervals. Compact region splitting still causes some regressions, so it is not enabled by default. llvm-svn: 136186 | |||||
* | Print out the MBB live-in registers. | Jakob Stoklund Olesen | 2011-07-26 | 1 | -0/+4 | |
| | | | | llvm-svn: 136178 | |||||
* | Eliminate copies of undefined values during coalescing. | Jakob Stoklund Olesen | 2011-07-26 | 3 | -0/+80 | |
| | | | | | | | | | | These copies would coalesce easily, but the resulting value would be defined by a deleted instruction. Now we also remove the undefined value number from the destination register. This fixes PR10503. llvm-svn: 136174 | |||||
* | Update test. | Benjamin Kramer | 2011-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 136170 | |||||
* | Add a neat little two's complement hack for x86. | Benjamin Kramer | 2011-07-26 | 3 | -28/+49 | |
| | | | | | | | | | | On x86 we can't encode an immediate LHS of a sub directly. If the RHS comes from a XOR with a constant we can fold the negation into the xor and add one to the immediate of the sub. Then we can turn the sub into an add, which can be commuted and encoded efficiently. This code is generated for __builtin_clz and friends. llvm-svn: 136167 | |||||
* | Recognize unpckh* masks and match 256-bit versions. The new versions are | Bruno Cardoso Lopes | 2011-07-26 | 11 | -132/+148 | |
| | | | | | | | different from the previous 128-bit because they work in lanes. Update a few comments and add testcases llvm-svn: 136157 | |||||
* | Delete unnecessarily cautious LastCALLSEQ code. | Dan Gohman | 2011-07-26 | 1 | -14/+1 | |
| | | | | llvm-svn: 136156 | |||||
* | ARM rot_imm printing adjustment. | Jim Grosbach | 2011-07-26 | 3 | -9/+9 | |
| | | | | | | | Allow the rot_imm operand to be optional. This sets the stage for refactoring away the "rr" versions from the multiclasses and replacing them with Pat<>s. llvm-svn: 136154 | |||||
* | ARM cleanup of rot_imm encoding. | Jim Grosbach | 2011-07-26 | 8 | -44/+47 | |
| | | | | | | | | Start of cleaning this up a bit. First step is to remove the encoder hook by storing the operand as the bits it'll actually encode to so it can just be directly used. Map it to the assembly source values 8/16/24 when we print it. llvm-svn: 136152 | |||||
* | Prevent x86-specific DAGCombine from creating nodes with illegal type (which ↵ | Eli Friedman | 2011-07-26 | 2 | -3/+3 | |
| | | | | | | could not be selected). Fixes a minor isel issue that was breaking the testcase from r136130. llvm-svn: 136148 | |||||
* | Remove one last reference to Target in MC library. | Evan Cheng | 2011-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 136145 | |||||
* | Split am2offset into register addend and immediate addend forms, necessary ↵ | Owen Anderson | 2011-07-26 | 8 | -51/+165 | |
| | | | | | | for allowing the fixed-length disassembler to distinguish between SBFX and STR_PRE. llvm-svn: 136141 | |||||
* | Update generated code to use new API of GetElementPtrInst::Create. | Nicolas Geoffray | 2011-07-26 | 1 | -2/+1 | |
| | | | | llvm-svn: 136138 | |||||
* | FileCheck'ize test. | Jim Grosbach | 2011-07-26 | 1 | -20/+21 | |
| | | | | llvm-svn: 136135 | |||||
* | Fix a typo. | Bill Wendling | 2011-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 136133 | |||||
* | Fix over-zealous rename from r136095. | Jim Grosbach | 2011-07-26 | 1 | -3/+3 | |
| | | | | llvm-svn: 136132 | |||||
* | XFAIL this test while I investigate it; it's failing for an unexpected reason. | Eli Friedman | 2011-07-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 136131 | |||||
* | Add obvious missing case to switch. PR10497. | Eli Friedman | 2011-07-26 | 2 | -2/+13 | |
| | | | | llvm-svn: 136130 | |||||
* | Fix a couple minor mistakes pointed out by Bill in adding 'fence' instruction. | Eli Friedman | 2011-07-26 | 2 | -24/+25 | |
| | | | | llvm-svn: 136124 | |||||
* | Fix llvm-mc target detection code to match llc. | Evan Cheng | 2011-07-26 | 1 | -12/+33 | |
| | | | | llvm-svn: 136115 | |||||
* | Updating stale documentation on regalloc modes. | Andrew Trick | 2011-07-26 | 1 | -7/+13 | |
| | | | | llvm-svn: 136112 | |||||
* | Use the correct for for the version. It's little endian and my brain is | Bill Wendling | 2011-07-26 | 1 | -1/+1 | |
| | | | | | | | obviously big endian. :-) PR10502 llvm-svn: 136111 | |||||
* | ARM diagnostics for ldrexd/stredx out of order paired register operands. | Jim Grosbach | 2011-07-26 | 2 | -1/+51 | |
| | | | | llvm-svn: 136110 | |||||
* | Remove now unused patterns. 0 insertions(+), 98 deletions(-) | Bruno Cardoso Lopes | 2011-07-26 | 1 | -98/+0 | |
| | | | | llvm-svn: 136109 | |||||
* | Cleanup old matching for PUNPCK* variants | Bruno Cardoso Lopes | 2011-07-26 | 1 | -44/+42 | |
| | | | | llvm-svn: 136108 | |||||
* | While extracting lexical scopes from machine instruction stream, work on one ↵ | Devang Patel | 2011-07-26 | 1 | -9/+9 | |
| | | | | | | machine basic block at a time. llvm-svn: 136106 | |||||
* | ARM parsing and encoding tests for load/store exclusive instructions. | Jim Grosbach | 2011-07-26 | 2 | -24/+27 | |
| | | | | llvm-svn: 136105 | |||||
* | ARM fix for LDREX source register encoding. | Jim Grosbach | 2011-07-26 | 1 | -2/+2 | |
| | | | | | | rdar://9842203 llvm-svn: 136102 | |||||
* | SCEV: Added a data structure for storing not-taken info per loop | Andrew Trick | 2011-07-26 | 2 | -186/+333 | |
| | | | | | | | exit. Added an interfaces for querying either the loop's exact/max backedge taken count or a specific loop exit's not-taken count. llvm-svn: 136100 | |||||
* | Strip trailing whitespace. | Duncan Sands | 2011-07-26 | 1 | -3/+3 | |
| | | | | llvm-svn: 136099 | |||||
* | ARM assembly parsing and encoding for SWP[B] instructions. | Jim Grosbach | 2011-07-26 | 3 | -6/+18 | |
| | | | | llvm-svn: 136098 | |||||
* | ARM SWP instructions store, too, not just load. | Jim Grosbach | 2011-07-26 | 1 | -5/+3 | |
| | | | | llvm-svn: 136096 | |||||
* | Clean up the ARM asm parser a bit. | Jim Grosbach | 2011-07-26 | 3 | -93/+95 | |
| | | | | | | | No intendeded functional change. Just cleaning up a bit to make things more self-consistent in layout and style. llvm-svn: 136095 | |||||
* | ARM fix asm parsing range check for [0,31] immediates. | Jim Grosbach | 2011-07-26 | 1 | -1/+3 | |
| | | | | llvm-svn: 136091 | |||||
* | ARM parsing and encoding for SVC instruction. | Jim Grosbach | 2011-07-26 | 6 | -4/+44 | |
| | | | | llvm-svn: 136090 | |||||
* | ARM assembly parsing and encoding tests for SUB instruction. | Jim Grosbach | 2011-07-26 | 1 | -0/+60 | |
| | | | | llvm-svn: 136089 | |||||
* | Update ARM STM tests. Fix check: prefix for diagnostic tests. | Jim Grosbach | 2011-07-26 | 2 | -80/+89 | |
| | | | | llvm-svn: 136088 | |||||
* | Teach the Triple class about kfreebsd (FreeBSD kernel with | Duncan Sands | 2011-07-26 | 2 | -0/+4 | |
| | | | | | | a GNU userspace). llvm-svn: 136085 | |||||
* | Add LLVMAddAlwaysInlinerPass to the C API. | Rafael Espindola | 2011-07-26 | 2 | -0/+7 | |
| | | | | llvm-svn: 136083 | |||||
* | LLVM 3.0 is here, remove old do nothing method. | Rafael Espindola | 2011-07-26 | 2 | -8/+0 | |
| | | | | llvm-svn: 136082 | |||||
* | SrcDef is only written and never read. Remove it. | Duncan Sands | 2011-07-26 | 1 | -8/+7 | |
| | | | | llvm-svn: 136080 | |||||
* | Add helper function for getting true/false constants in a uniform | Duncan Sands | 2011-07-26 | 1 | -34/+48 | |
| | | | | | | | way for i1 and vector of i1 types. Use these to make some code more self-documenting. llvm-svn: 136079 | |||||
* | Clean up the HTML here a bit. | Bill Wendling | 2011-07-26 | 1 | -1/+2 | |
| | | | | llvm-svn: 136074 |