summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix the handling of edge cases in ARM shifted operands.Tim Northover2012-09-226-8/+151
| | | | | | | | | This patch fixes load/store instructions to handle less common cases like "asr #32", "rrx" properly throughout the MC layer. Patch by Chris Lidbury. llvm-svn: 164455
* Fix 16-bit atomic inst encoding and keep pseudo-inst starting with '#'Michael Liao2012-09-221-14/+14
| | | | llvm-svn: 164453
* Fix typo in r164357Michael Liao2012-09-221-1/+1
| | | | llvm-svn: 164452
* Machine Model (-schedmodel only). Added SchedAliases.Andrew Trick2012-09-224-88/+327
| | | | | | | Allow subtargets to tie SchedReadWrite types to processor specific sequences or variants. llvm-svn: 164451
* Add llvm::getOrdinalSuffix to get the appropriate -st, -nd, -rd, -th suffix.Jordan Rose2012-09-221-0/+19
| | | | | | Used by clang to print parameter indexes. llvm-svn: 164440
* Casting: assert that pointer arguments to isa<> are non-null.Jordan Rose2012-09-221-0/+3
| | | | | | | | This silences several analyzer warnings within LLVM, and provides a slightly nicer crash experience when someone calls isa<>, cast<>, or dyn_cast<> with a null pointer. llvm-svn: 164439
* DenseMap: assert that we have found a bucket before we try to insert into it.Jordan Rose2012-09-221-0/+1
| | | | | | | This silences literally dozens of analyzer warnings on LLVM (since DenseMap is such a commonly-used class). llvm-svn: 164438
* MIPS DSP: Add immediate leaves.Akira Hatanaka2012-09-221-0/+20
| | | | llvm-svn: 164435
* MIPS DSP: Add predicates and instruction template.Akira Hatanaka2012-09-221-0/+25
| | | | llvm-svn: 164434
* Add MIPS DSP register classes. Set actions of DSP vector operations and overrideAkira Hatanaka2012-09-212-0/+49
| | | | | | TargetLowering's callback functions. llvm-svn: 164431
* SelectionDAG node enums for MIPS DSP nodes.Akira Hatanaka2012-09-212-0/+55
| | | | llvm-svn: 164430
* Add MIPS accumulator and DSP control registers.Akira Hatanaka2012-09-212-1/+45
| | | | llvm-svn: 164429
* Add flags and feature bits for mips dsp.Akira Hatanaka2012-09-212-0/+9
| | | | llvm-svn: 164428
* Fix a case where the new SROA pass failed to zap dead operands toChandler Carruth2012-09-212-7/+15
| | | | | | | | | | | selects with a constant condition. This resulted in the operands remaining live through the SROA rewriter. Most of the time, this just caused some dead allocas to persist and get zapped by later passes, but in one case found by Joerg, it caused a crash when we tried to *promote* the alloca despite it having this dead use. We already have the mechanisms in place to handle this, just wire select up to them. llvm-svn: 164427
* Add an --enable-backtraces option to configure to determineEric Christopher2012-09-214-2/+47
| | | | | | | | | whether or not we want to print out backtrace information. Useful for libraries that don't need backtrace information on a crash. rdar://11844710 llvm-svn: 164426
* Add an MDBuilder utility for creating !tbaa.struct nodes.Dan Gohman2012-09-211-0/+21
| | | | llvm-svn: 164425
* [CMake] Respect LLVM_BUILD_RUNTIME.Michael J. Spencer2012-09-211-0/+1
| | | | llvm-svn: 164424
* [ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.Chad Rosier2012-09-216-2/+22
| | | | llvm-svn: 164420
* Have the DbgVariable "isArtificial" and "isObjectPointer" notEric Christopher2012-09-212-5/+5
| | | | | | | | | | | | care about it being an argument variable so that we can decide that captured block and lambda vars that don't happen to be arguments could be an argument pointer. Add the object pointer for one case onto the subprogram die. rdar://12001329 llvm-svn: 164419
* Add comment.Chad Rosier2012-09-211-1/+2
| | | | llvm-svn: 164415
* Add comment.Chad Rosier2012-09-211-1/+2
| | | | llvm-svn: 164414
* Fix a significant recent(?) regression. StackSlotColoring no longer did anythingEvan Cheng2012-09-214-3/+10
| | | | | | | | | because LiveStackAnalysis was not preserved by VirtRegWriter. This caused big stack usage regression in some cases. rdar://12340383 llvm-svn: 164408
* docs: Fix long-standing typo in yaml2obj.rst.Sean Silva2012-09-211-2/+2
| | | | llvm-svn: 164407
* Whitespace.Chad Rosier2012-09-211-2/+2
| | | | llvm-svn: 164406
* Say "bytes" instead of "address units", since that's what theDan Gohman2012-09-211-5/+5
| | | | | | rest of LangRef uses. llvm-svn: 164402
* Document the new !tbaa.struct metadata.Dan Gohman2012-09-211-0/+39
| | | | llvm-svn: 164398
* Add missing 'to' and rephrase an explanation of GCC's assumptions.David Blaikie2012-09-211-4/+4
| | | | | | Wordsmithing by Matt Beaumont-Gay in response to r164389. llvm-svn: 164395
* Document "do not use defaults in covered switch-over-enum" coding standard.David Blaikie2012-09-211-0/+18
| | | | llvm-svn: 164389
* LoopIdiom: Give up when the loop is not in canonical form.Benjamin Kramer2012-09-212-0/+39
| | | | | | | | | We rely on it when doing the transforms. This can happen when there is an indirectbr in the loop. Fixes PR13892. llvm-svn: 164383
* [fast-isel] Fallback to SelectionDAG isel if we require strict alignment forChad Rosier2012-09-212-0/+42
| | | | | | | non-aligned i32 loads/stores. rdar://12304911 llvm-svn: 164381
* InstCombine: Make sure we use the pre-zext type when creating a constant of ↵Benjamin Kramer2012-09-212-1/+16
| | | | | | | | a value that is zext'd. Fixes PR13250. llvm-svn: 164377
* Encapsulate the "construct*AlignmentFromInt" functions.Bill Wendling2012-09-213-29/+29
| | | | llvm-svn: 164373
* Fix a typo in r164357Michael Liao2012-09-211-8/+8
| | | | llvm-svn: 164372
* Clarify comment.Dmitri Gribenko2012-09-211-1/+1
| | | | llvm-svn: 164371
* Make the 'get*AlignmentFromAttr' functions into member functions within the ↵Bill Wendling2012-09-215-29/+31
| | | | | | Attributes class. Now with fix. llvm-svn: 164370
* BitcodeReader: Correctly insert blockaddress constant referring to a already ↵Benjamin Kramer2012-09-212-6/+37
| | | | | | | | | | | | parsed function. We inserted a placeholder that was never replaced because the function was already visited. Assert that all placeholders have been resolved when tearing down the bitcode reader. Fixes PR13895. llvm-svn: 164369
* Fix SymbolRef::getAddress implementation for ELF. The 'value' field in ↵Alexey Samsonov2012-09-214-10/+39
| | | | | | symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. llvm-svn: 164365
* llvm/test/CodeGen/X86/pr5145.ll: Tweak expressions to match for darwin target.NAKAMURA Takumi2012-09-211-8/+8
| | | | | | | .LBB0_1: # Linux LBB0_1: # Darwin llvm-svn: 164362
* Cortex-A9 latency fixes (w/ -schedmodel only).Andrew Trick2012-09-211-5/+5
| | | | | | Quick review against the manual revealed a few obvious mistakes. llvm-svn: 164361
* Add missing i8 max/min/umax/umin supportMichael Liao2012-09-213-10/+79
| | | | | | - Fix PR5145 and turn on test 8-bit atomic ops llvm-svn: 164358
* Revise td of X86 atomic instructionsMichael Liao2012-09-213-218/+209
| | | | | | | - Rewirte most atomic instructions in templates for both better maintenance and future extensions, such as HLE in TSX. llvm-svn: 164357
* docs: Fix Sphinx warning over Atomics.rst.Sean Silva2012-09-211-0/+5
| | | | | | | | Atomics.rst was not linked into the toctree. Docs now build warning-free! llvm-svn: 164356
* docs: Fix Sphinx warning over yaml2obj.rst.Sean Silva2012-09-211-0/+1
| | | | | | | | yaml2obj.rst was not included in the toctree Input from Michael Spencer. llvm-svn: 164355
* Mips16FrameLowering.cpp: Remove unused TII introduced in r164349. ↵NAKAMURA Takumi2012-09-211-1/+0
| | | | | | [-Wunused-variable] llvm-svn: 164354
* llvm/test/CodeGen/ARM/fast-isel.ll: Fix possible typos, ↵NAKAMURA Takumi2012-09-211-2/+2
| | | | | | | | s/@unaligned_i16_store/@unaligned_i16_load/g. I guess this had apparently passed in +Asserts possibly due to verborsity. llvm-svn: 164350
* Properly save and restore RA and Mips16 callee save registers S0,S1Akira Hatanaka2012-09-213-6/+52
| | | | | | Patch by Reed Kotler. llvm-svn: 164349
* Testcase does not need to be this strict.Chad Rosier2012-09-211-1/+1
| | | | llvm-svn: 164347
* Add newline.Chad Rosier2012-09-211-1/+1
| | | | llvm-svn: 164346
* [fast-isel] Fallback to SelectionDAG isel if we require strict alignment forChad Rosier2012-09-212-0/+36
| | | | | | | non-halfword-aligned i16 loads/stores. rdar://12304911 llvm-svn: 164345
* Tidy up. Whitespace.Jim Grosbach2012-09-211-2/+2
| | | | llvm-svn: 164344
OpenPOWER on IntegriCloud