Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Change v64 datalayout in SPU. | Kalle Raiskila | 2010-10-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | The SPU ABI does not mention v64, and all examples in C suggest v128 are treated similarily to arrays, we use array alignment for v64 too. This makes the alignment of e.g. [2 x <2 x i32>] behave "intuitively" and similar to as if the elements were e.g. i32s. This also makes an "unaligned store" test to be aligned, with different (but functionally equivalent) code generated. llvm-svn: 117360 | |||||
* | Use instruction itinerary to determine what instructions are 'cheap'. | Evan Cheng | 2010-10-26 | 4 | -4/+63 | |
| | | | | llvm-svn: 117348 | |||||
* | NEON vmov's are in Neon domain. | Evan Cheng | 2010-10-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 117347 | |||||
* | For statistics that are only used in functions declared in !NDEBUG, wrap the | Nick Lewycky | 2010-10-26 | 2 | -0/+5 | |
| | | | | | | | declarations in !NDEBUG to avoid -Wunused-variable warnings. Patch by Matt Beaumont-Gay! llvm-svn: 117345 | |||||
* | InlineSpiller can also update LiveStacks. | Jakob Stoklund Olesen | 2010-10-26 | 1 | -0/+9 | |
| | | | | llvm-svn: 117338 | |||||
* | Make the spiller responsible for updating the LiveStacks analysis. | Jakob Stoklund Olesen | 2010-10-26 | 3 | -34/+20 | |
| | | | | llvm-svn: 117337 | |||||
* | When the "true" and "false" blocks of a diamond if-conversion are the same, | Bob Wilson | 2010-10-26 | 1 | -52/+46 | |
| | | | | | | | | | | | | | | | | do not double-count the duplicate instructions by counting once from the beginning and again from the end. Keep track of where the duplicates from the beginning ended and don't go past that point when counting duplicates at the end. Radar 8589805. This change causes one of the MC/ARM/simple-fp-encoding tests to produce different (better!) code without the vmovne instruction being tested. I changed the test to produce vmovne and vmoveq instructions but moving between register files in the opposite direction. That's not quite the same but predicated versions of those instructions weren't being tested before, so at least the test coverage is not any worse, just different. llvm-svn: 117333 | |||||
* | Change if-conversion to keep track of the extra cost due to microcoded | Bob Wilson | 2010-10-26 | 1 | -11/+25 | |
| | | | | | | | | | instructions separately from the count of non-predicated instructions. The instruction count is used in places to determine how many instructions to copy, predicate, etc. and things get confused if that count includes the extra cost for microcoded ops. llvm-svn: 117332 | |||||
* | Tidy up redundant check. | Bob Wilson | 2010-10-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 117331 | |||||
* | Neuter r117193 as it causes significant post-ra scheduler compile time ↵ | Evan Cheng | 2010-10-25 | 1 | -2/+2 | |
| | | | | | | regression. llvm-svn: 117329 | |||||
* | Produce the headers directly in the Finish method. This allows us to use | Rafael Espindola | 2010-10-25 | 1 | -21/+15 | |
| | | | | | | the existing streamer methods that are endian safe. llvm-svn: 117323 | |||||
* | An stdcall function calling a non-stdcall function | Dale Johannesen | 2010-10-25 | 1 | -0/+5 | |
| | | | | | | cannot use tailcall. PR 8461. llvm-svn: 117322 | |||||
* | Support TBAA attachments on calls. This is somewhat experimental. | Dan Gohman | 2010-10-25 | 1 | -0/+36 | |
| | | | | llvm-svn: 117317 | |||||
* | Simplify. | Devang Patel | 2010-10-25 | 1 | -9/+9 | |
| | | | | | | Do not count use of sdisel for single call instruction. llvm-svn: 117316 | |||||
* | Add correct encodings for NEON vabal. | Owen Anderson | 2010-10-25 | 1 | -5/+5 | |
| | | | | llvm-svn: 117315 | |||||
* | Fix chaining in TBAA's pointsToConstantMemory. | Dan Gohman | 2010-10-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 117314 | |||||
* | Add counters to count basic blocks and machine basic blocks with out of ↵ | Devang Patel | 2010-10-25 | 1 | -4/+63 | |
| | | | | | | | | order line number info. Add counters to count how many basic blocks are entirely selected by fastisel. llvm-svn: 117310 | |||||
* | Add correct NEON encodings for vaba. | Owen Anderson | 2010-10-25 | 1 | -8/+8 | |
| | | | | llvm-svn: 117309 | |||||
* | Add simple counter to count no. of basic blocks without any line number ↵ | Devang Patel | 2010-10-25 | 1 | -0/+28 | |
| | | | | | | information. At -O0, these basic block coule cause less than optimial debugging experience. llvm-svn: 117307 | |||||
* | Only read one bit for testing for a readonly type, leaving the other | Dan Gohman | 2010-10-25 | 1 | -2/+1 | |
| | | | | | | bits open for future uses. llvm-svn: 117301 | |||||
* | MC/AsmParser: Fix relative precedence of {+,-} and comparison ops. | Daniel Dunbar | 2010-10-25 | 1 | -12/+14 | |
| | | | | llvm-svn: 117299 | |||||
* | MC/AsmLexer: Fix bug in source location for Slash token. | Daniel Dunbar | 2010-10-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 117298 | |||||
* | Attempt to provide correct encodings for NEON vbit and vbif, even though we ↵ | Owen Anderson | 2010-10-25 | 1 | -8/+10 | |
| | | | | | | can't test them at the moment. llvm-svn: 117294 | |||||
* | Provide correct NEON encodings for vbsl. | Owen Anderson | 2010-10-25 | 1 | -12/+12 | |
| | | | | llvm-svn: 117293 | |||||
* | imm12 operands aren't Thumb2 only, so rename the printer helper function. | Jim Grosbach | 2010-10-25 | 3 | -6/+5 | |
| | | | | llvm-svn: 117291 | |||||
* | Add a comment. | Dan Gohman | 2010-10-25 | 1 | -1/+3 | |
| | | | | llvm-svn: 117288 | |||||
* | Add correct instruction encodings for vbic, vorn, and vmvn. | Owen Anderson | 2010-10-25 | 2 | -1/+22 | |
| | | | | llvm-svn: 117282 | |||||
* | Add a virtual destructor. | Rafael Espindola | 2010-10-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 117280 | |||||
* | Provide correct NEON encodings for vand, veor, and vorr. | Owen Anderson | 2010-10-25 | 1 | -0/+12 | |
| | | | | llvm-svn: 117279 | |||||
* | Add NEON encoding tests for vcgt and vacgt. | Owen Anderson | 2010-10-25 | 1 | -0/+2 | |
| | | | | llvm-svn: 117276 | |||||
* | Add support for emitting ARM file attributes. | Rafael Espindola | 2010-10-25 | 4 | -44/+148 | |
| | | | | llvm-svn: 117275 | |||||
* | Add tests for NEON encodings of vcge and vacge. | Owen Anderson | 2010-10-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 117274 | |||||
* | Add a warning about our inability to test the encoding of vceq with ↵ | Owen Anderson | 2010-10-25 | 1 | -0/+1 | |
| | | | | | | immediate zero. llvm-svn: 117273 | |||||
* | In which I learn how to forward declare template classes. | Jakob Stoklund Olesen | 2010-10-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 117272 | |||||
* | Update comments; BasicAA is no longer necessarily the end of the chain. | Dan Gohman | 2010-10-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 117268 | |||||
* | Reintroduce these asserts, now that BasicAA is a normal AliasAnalysis pass. | Dan Gohman | 2010-10-25 | 1 | -6/+3 | |
| | | | | llvm-svn: 117266 | |||||
* | Fix a case where instcombine was stripping metadata (and alignment) | Dan Gohman | 2010-10-25 | 1 | -1/+3 | |
| | | | | | | from stores when folding in bitcasts. llvm-svn: 117265 | |||||
* | Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op | Charles Davis | 2010-10-25 | 4 | -0/+5 | |
| | | | | | | | instruction at the beginning of each function that has the attribute, allowing the function to be easily hooked and/or patched. llvm-svn: 117264 | |||||
* | ATTRIBUTE_UNUSED has been renamed to LLVM_ATTRIBUTE_UNUSED. | Duncan Sands | 2010-10-25 | 1 | -2/+2 | |
| | | | | | | | Rather than rename this instance, use the cast-to-void idiom instead. This will hopefully fix the windows buildbots. llvm-svn: 117262 | |||||
* | Add X86::reloc_global_offset_table and use it to have a single place where | Rafael Espindola | 2010-10-24 | 4 | -10/+16 | |
| | | | | | | we check for _GLOBAL_OFFSET_TABLE_. llvm-svn: 117241 | |||||
* | Fix PR8445: a block with no predecessors may be the entry block, in which case | Duncan Sands | 2010-10-24 | 1 | -12/+10 | |
| | | | | | | | | | it isn't unreachable and should not be zapped. The check for the entry block was missing in one case: a block containing a unwind instruction. While there, do some small cleanups: "M" is not a great name for a Function* (it would be more appropriate for a Module*), change it to "Fn"; use Fn in more places. llvm-svn: 117224 | |||||
* | SmallVectorize. | Benjamin Kramer | 2010-10-23 | 1 | -3/+1 | |
| | | | | llvm-svn: 117213 | |||||
* | Move rejection of NEON parameters earlier in fast isel call processing, | Eric Christopher | 2010-10-23 | 1 | -3/+4 | |
| | | | | | | note that we can actually handle some f64 arguments. llvm-svn: 117209 | |||||
* | Make the disassembler tables const so they end up in read-only memory. | Benjamin Kramer | 2010-10-23 | 4 | -19/+16 | |
| | | | | llvm-svn: 117206 | |||||
* | X86: Emit _fltused instead of __fltused on Windows x64. | Michael J. Spencer | 2010-10-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 117205 | |||||
* | Move the remaining attribute macros to systematic names based on the attribute | Chandler Carruth | 2010-10-23 | 3 | -14/+14 | |
| | | | | | | name and prefixed with 'LLVM_'. llvm-svn: 117203 | |||||
* | Remove a define which is never referenced. | Chandler Carruth | 2010-10-23 | 1 | -6/+0 | |
| | | | | llvm-svn: 117202 | |||||
* | Switch attribute macros to use 'LLVM_' as a prefix. We retain the old names | Chandler Carruth | 2010-10-23 | 4 | -5/+7 | |
| | | | | | | until other LLVM projects using these are cleaned up. llvm-svn: 117200 | |||||
* | Fix a likely bug in an assertion by adding parentheses around '||'. This bug | Chandler Carruth | 2010-10-23 | 1 | -1/+1 | |
| | | | | | | was found by a GCC warning. ;] llvm-svn: 117199 | |||||
* | Enable ARM fastcc. | Evan Cheng | 2010-10-23 | 1 | -5/+1 | |
| | | | | llvm-svn: 117194 |