| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Revert a bit of r137667; the logic in question can safely handle atomic ↵ | Eli Friedman | 2011-08-16 | 1 | -4/+4 | |
| | | | | | | | load/store. llvm-svn: 137702 | |||||
| * | After talking with Bill, it seems like the LandingPad handling here is likely | Eli Friedman | 2011-08-16 | 1 | -4/+1 | |
| | | | | | | | to be wrong (or at least somewhat suspect). Leave a FIXME for Bill. llvm-svn: 137694 | |||||
| * | Minor comment fixes. | Eli Friedman | 2011-08-16 | 2 | -5/+7 | |
| | | | | | llvm-svn: 137693 | |||||
| * | Update SimplifyCFG for atomic operations. | Eli Friedman | 2011-08-15 | 1 | -10/+26 | |
| | | | | | | | | | This commit includes a mention of the landingpad instruction, but it's not changing the behavior around it. I think the current behavior is correct, though. Bill, can you double-check that? llvm-svn: 137691 | |||||
| * | Add comments and test for atomic load/store and mem2reg. | Eli Friedman | 2011-08-15 | 1 | -0/+4 | |
| | | | | | llvm-svn: 137690 | |||||
| * | Refactor. | Devang Patel | 2011-08-15 | 2 | -49/+68 | |
| | | | | | llvm-svn: 137689 | |||||
| * | Specify a necessary fixed bit for VLD3DUP, and otherwise rearrange the ↵ | Owen Anderson | 2011-08-15 | 3 | -20/+27 | |
| | | | | | | | Thumb2 NEON decoding hooks to bring us closer to correctness. llvm-svn: 137686 | |||||
| * | While I'm here, remove the "_alt" hacks to a series of INSERT_SUBREG and | Bruno Cardoso Lopes | 2011-08-15 | 1 | -15/+25 | |
| | | | | | | | also add the AVX versions of the 128-bit patterns llvm-svn: 137685 | |||||
| * | Reorder declarations of vmovmskp* and also put the necessary AVX | Bruno Cardoso Lopes | 2011-08-15 | 1 | -31/+35 | |
| | | | | | | | | predicate and TB encoding fields. This fix the encoding for the attached testcase. This fixes PR10625. llvm-svn: 137684 | |||||
| * | Continue to hoist uses of getCompileUnit() up. The goal is to get rid of ↵ | Devang Patel | 2011-08-15 | 2 | -21/+24 | |
| | | | | | | | uses of getCompileUnit(). llvm-svn: 137683 | |||||
| * | In places where it's using "getFirstNonPHI", skip the landingpad instruction ↵ | Bill Wendling | 2011-08-15 | 1 | -5/+8 | |
| | | | | | | | if necessary. llvm-svn: 137679 | |||||
| * | MCTargetAsmParser target match predicate support. | Jim Grosbach | 2011-08-15 | 3 | -2/+5 | |
| | | | | | | | | | Allow a target assembly parser to do context sensitive constraint checking on a potential instruction match. This will be used, for example, to handle Thumb2 IT block parsing. llvm-svn: 137675 | |||||
| * | Add a finalize() hook, that'll let DIBuilder construct compile unit lazily. | Devang Patel | 2011-08-15 | 1 | -0/+4 | |
| | | | | | llvm-svn: 137673 | |||||
| * | Don't sink the instruction to before a landingpad instruction. | Bill Wendling | 2011-08-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 137672 | |||||
| * | This is somewhat déjà-vu, but avoid using getCompileUnit() as much as ↵ | Devang Patel | 2011-08-15 | 2 | -14/+14 | |
| | | | | | | | possible. llvm-svn: 137668 | |||||
| * | Update inter-procedural optimizations for atomic load/store. | Eli Friedman | 2011-08-15 | 4 | -10/+16 | |
| | | | | | llvm-svn: 137667 | |||||
| * | Update instcombine for atomic load/store. | Eli Friedman | 2011-08-15 | 3 | -31/+39 | |
| | | | | | llvm-svn: 137664 | |||||
| * | Refactor. Variables are part of compile unit so let CompileUnit create new ↵ | Devang Patel | 2011-08-15 | 4 | -123/+129 | |
| | | | | | | | variable. llvm-svn: 137663 | |||||
| * | Add some comments here because the lack of a check for volatile/atomic here ↵ | Eli Friedman | 2011-08-15 | 1 | -0/+4 | |
| | | | | | | | is a bit unusual. llvm-svn: 137662 | |||||
| * | Fix PR10656. It's only profitable to use 128-bit inserts and extracts | Bruno Cardoso Lopes | 2011-08-15 | 1 | -4/+6 | |
| | | | | | | | | when AVX mode is one. Otherwise is just more work for the type legalizer. llvm-svn: 137661 | |||||
| * | There is no need to maintain a set to keep track of variables that use ↵ | Devang Patel | 2011-08-15 | 2 | -8/+2 | |
| | | | | | | | location expressions. In such cases, AT_location attribute's value will be a label. llvm-svn: 137659 | |||||
| * | Fix warning. | Devang Patel | 2011-08-15 | 2 | -2/+2 | |
| | | | | | llvm-svn: 137658 | |||||
| * | Simplify. Let DbgVariable keep track of variable's DBG_VALUE machine ↵ | Devang Patel | 2011-08-15 | 2 | -55/+24 | |
| | | | | | | | instruction. llvm-svn: 137656 | |||||
| * | Duncan pointed out that the LandingPadInst might read memory. (It might also | Bill Wendling | 2011-08-15 | 3 | -6/+4 | |
| | | | | | | | write to memory.) Marking it as such makes some checks for immobility go away. llvm-svn: 137655 | |||||
| * | Fix llvm::CloneModule to correctly clone globals. Patch per bug report by ↵ | Eli Friedman | 2011-08-15 | 1 | -14/+13 | |
| | | | | | | | Simon Moll on llvmdev. llvm-svn: 137654 | |||||
| * | Fix predicates methods on Instruction to handle atomic load/store correctly. | Eli Friedman | 2011-08-15 | 1 | -7/+15 | |
| | | | | | llvm-svn: 137652 | |||||
| * | Misc analysis passes that need to be aware of atomic load/store. | Eli Friedman | 2011-08-15 | 4 | -19/+50 | |
| | | | | | llvm-svn: 137650 | |||||
| * | Atomic load/store support in LICM. | Eli Friedman | 2011-08-15 | 2 | -10/+18 | |
| | | | | | llvm-svn: 137648 | |||||
| * | Enforce the constraint that Rt must be even on LDRD/STRD instructions in ARM ↵ | Owen Anderson | 2011-08-15 | 1 | -0/+15 | |
| | | | | | | | | | mode. Update tests to reflect this fact. Patch by James Molloy. llvm-svn: 137647 | |||||
| * | Remove dead classes. | Owen Anderson | 2011-08-15 | 1 | -33/+0 | |
| | | | | | llvm-svn: 137643 | |||||
| * | The "landingpad" instruction will never be "trivially" dead. | Bill Wendling | 2011-08-15 | 1 | -0/+4 | |
| | | | | | llvm-svn: 137642 | |||||
| * | Fix incorrect encoding of UMAAL and friends. Patch by James Molloy. | Owen Anderson | 2011-08-15 | 1 | -2/+2 | |
| | | | | | llvm-svn: 137641 | |||||
| * | Simplify mapping to variable from its abstract variable info. | Devang Patel | 2011-08-15 | 2 | -29/+18 | |
| | | | | | | | When a variable is inlined multiple places, abstract variable keeps name, location, type etc.. info and all other concreate instances of the variable directly refers to abstract variable. llvm-svn: 137637 | |||||
| * | Fix decoding LDRSB and LDRSH in Thumb1 mode. Patch by James Molloy. | Owen Anderson | 2011-08-15 | 1 | -6/+7 | |
| | | | | | llvm-svn: 137636 | |||||
| * | Fix problems decoding the to/from-lane NEON memory instructions, and add a ↵ | Owen Anderson | 2011-08-15 | 2 | -4/+486 | |
| | | | | | | | comprehensive NEON decoding testcase. llvm-svn: 137635 | |||||
| * | Refactor. | Devang Patel | 2011-08-15 | 2 | -5/+11 | |
| | | | | | llvm-svn: 137632 | |||||
| * | Refactor. | Devang Patel | 2011-08-15 | 2 | -15/+9 | |
| | | | | | llvm-svn: 137631 | |||||
| * | Don't try to sink the landingpad instruction. It's immobile. | Bill Wendling | 2011-08-15 | 1 | -2/+3 | |
| | | | | | llvm-svn: 137629 | |||||
| * | The landingpad instruction isn't loop-invariant. | Bill Wendling | 2011-08-15 | 1 | -0/+3 | |
| | | | | | llvm-svn: 137628 | |||||
| * | Mark the SCC as "might unwind" if we run into a 'resume' instruction. | Bill Wendling | 2011-08-15 | 1 | -2/+3 | |
| | | | | | llvm-svn: 137627 | |||||
| * | Skip the insertion iterator past the landingpad instruction if there. | Bill Wendling | 2011-08-15 | 1 | -0/+1 | |
| | | | | | llvm-svn: 137626 | |||||
| * | Refactor. Global variables are part of compile unit so let CompileUnit ↵ | Devang Patel | 2011-08-15 | 4 | -129/+144 | |
| | | | | | | | create new global variable. llvm-svn: 137621 | |||||
| * | Refactor. A subprogram is part of compile unit so let CompileUnit construct ↵ | Devang Patel | 2011-08-15 | 4 | -114/+141 | |
| | | | | | | | new subprogram. llvm-svn: 137618 | |||||
| * | Update comment to reflect MC target machine refactor. | Jim Grosbach | 2011-08-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 137615 | |||||
| * | Add inlining for the new EH scheme. | Bill Wendling | 2011-08-14 | 1 | -17/+146 | |
| | | | | | | | | | | | | | | This builds off of the current scheme, but instead of llvm.eh.exception and llvm.eh.selector, it uses the landingpad instruction. And instead of llvm.eh.resume, it uses the resume instruction. Because of the invariants in the landing pad instruction, a lot of code that's currently needed to find the appropriate intrinsic calls for an invoke instruction won't be needed once we go to the new EH scheme. The "FIXME"s tell us what to remove after we switch. llvm-svn: 137576 | |||||
| * | This transform is not safe. Thanks to Eli for pointing that out! | Nick Lewycky | 2011-08-14 | 1 | -8/+1 | |
| | | | | | llvm-svn: 137575 | |||||
| * | Don't attempt to add 'nsw' when intermediate instructions had no such guarantee. | Nick Lewycky | 2011-08-14 | 1 | -4/+7 | |
| | | | | | llvm-svn: 137572 | |||||
| * | Teach instcombine to preserve the nsw bit by doing an after-the-fact analysis | Nick Lewycky | 2011-08-14 | 1 | -3/+54 | |
| | | | | | | | when combining add and sub instructions. Patch by Pranav Bhandarkar! llvm-svn: 137570 | |||||
| * | EE: Provide the symbol "lseek64" explicitly with <unistd.h> on Linux glibc. | NAKAMURA Takumi | 2011-08-14 | 2 | -0/+2 | |
| | | | | | | | With libcxx, it seems <unistd.h> would not be provided. Thanks to Ryuta Suzuki. llvm-svn: 137567 | |||||
| * | Fix PR 10635. When generating integer constants, the constant element type may | Nadav Rotem | 2011-08-13 | 1 | -0/+7 | |
| | | | | | | | | be illegal, even if the requested vector type is legal. Testcase is one of the disabled ARM tests in the vector-select patch. llvm-svn: 137562 | |||||

