| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove extraneous commit. | Eric Christopher | 2009-11-13 | 1 | -5/+0 |
| | | | | | llvm-svn: 88716 | ||||
| * | Print out something, even if it's non-parseable later when we've | Eric Christopher | 2009-11-13 | 1 | -2/+7 |
| | | | | | | | got ghost linkage. It's better than aborting. llvm-svn: 88715 | ||||
| * | Move the FixedStackPseudoSourceValueVal enum value before InstructionVal | Dan Gohman | 2009-11-13 | 1 | -1/+3 |
| | | | | | | | | | so that isa<Instructon> doesn't return true for FixedStackPseudoSourceValue values. This fixes a variety of problems, including crashes with -debug and -print-machineinstrs. Also, add a comment to warn about this. llvm-svn: 88711 | ||||
| * | Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implement | Bill Wendling | 2009-11-13 | 1 | -0/+4 |
| | | | | | | | emitFunctionStubAtAddr. llvm-svn: 88708 | ||||
| * | Fix PHIElimination optimization that uses MBB->getBasicBlock. | Jakob Stoklund Olesen | 2009-11-13 | 2 | -34/+23 |
| | | | | | | | | | | | | The BasicBlock associated with a MachineBasicBlock does not necessarily correspond to the code in the MBB. Don't insert a new IR BasicBlock when splitting critical edges. We are not supposed to modify the IR during codegen, and we should be able to do just fine with a NULL BB. llvm-svn: 88707 | ||||
| * | Add MachineFunction::verify() to call the machine code verifier directly. | Jakob Stoklund Olesen | 2009-11-13 | 2 | -0/+8 |
| | | | | | llvm-svn: 88706 | ||||
| * | The instruction pointer %RIP is a reserved register on x86_64. | Jakob Stoklund Olesen | 2009-11-13 | 1 | -0/+5 |
| | | | | | llvm-svn: 88705 | ||||
| * | Fix polarity of a CFG check in machine verifier. | Jakob Stoklund Olesen | 2009-11-13 | 1 | -5/+14 |
| | | | | | llvm-svn: 88704 | ||||
| * | Use .data() instead of .c_str() when nul-termination is not needed. | Dan Gohman | 2009-11-13 | 2 | -2/+2 |
| | | | | | llvm-svn: 88703 | ||||
| * | Do not use value handle to wrap MDNode in DIDescriptor. | Devang Patel | 2009-11-13 | 1 | -1/+3 |
| | | | | | llvm-svn: 88700 | ||||
| * | Move DebugInfo checks into EmitComments and remove them from | David Greene | 2009-11-13 | 14 | -28/+35 |
| | | | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697 | ||||
| * | When optimizing for size, don't tail-merge unless it's likely to be a | Dan Gohman | 2009-11-13 | 2 | -9/+125 |
| | | | | | | | | | | | code-size win, and not when it's only likely to be code-size neutral, such as when only a single instruction would be eliminated and a new branch would be required. This fixes rdar://7392894. llvm-svn: 88692 | ||||
| * | Fix PR5410: LiveVariables lost subreg def: | Evan Cheng | 2009-11-13 | 2 | -1/+27 |
| | | | | | | | | | | | | | | | D0<def,dead> = ... ... = S0<use, kill> S0<def> = ... ... D0<def> = The first D0 def is correctly marked dead, however, livevariables should have added an implicit def of S0 or we end up with a use without a def. llvm-svn: 88690 | ||||
| * | Allow target to specify regclass for which antideps will only be broken ↵ | David Goodwin | 2009-11-13 | 9 | -44/+123 |
| | | | | | | | along the critical path. llvm-svn: 88682 | ||||
| * | Support fp64 immediate zero, this fixes only part of PR5445 | Bruno Cardoso Lopes | 2009-11-13 | 2 | -3/+22 |
| | | | | | | | because the testcase is triggering one more bug. llvm-svn: 88674 | ||||
| * | Don't let a noalias difference disrupt the tailcall optimization. | Dan Gohman | 2009-11-13 | 2 | -4/+19 |
| | | | | | llvm-svn: 88672 | ||||
| * | Remove duplicate APIs and state WRT spill objects. | David Greene | 2009-11-13 | 1 | -16/+0 |
| | | | | | llvm-svn: 87106 | ||||
| * | Distinguish "a," from "a". The first one splits into "a" + "" and the second ↵ | Rafael Espindola | 2009-11-13 | 2 | -3/+10 |
| | | | | | | | | | one into "a" + 0. llvm-svn: 87084 | ||||
| * | Revert r87059 for now. It is failing clang tests. | Devang Patel | 2009-11-13 | 2 | -3/+12 |
| | | | | | llvm-svn: 87070 | ||||
| * | Ignore nameless variables. | Devang Patel | 2009-11-13 | 1 | -1/+3 |
| | | | | | llvm-svn: 87069 | ||||
| * | Switch to smallvector. Also fix issue with using unsigend for MaxSplit. | Rafael Espindola | 2009-11-13 | 3 | -15/+11 |
| | | | | | llvm-svn: 87068 | ||||
| * | Adjust isConstantSplat to allow for big-endian targets. | Dale Johannesen | 2009-11-13 | 4 | -8/+35 |
| | | | | | | | PPC is such a target; make it work. llvm-svn: 87060 | ||||
| * | Remove unnecessary llvm.dbg.declare bitcast | Victor Hernandez | 2009-11-13 | 2 | -12/+3 |
| | | | | | llvm-svn: 87059 | ||||
| * | Add a new split method to StringRef that puts the substrings in a vector. | Rafael Espindola | 2009-11-13 | 3 | -0/+121 |
| | | | | | llvm-svn: 87058 | ||||
| * | Block renumbering | Jim Grosbach | 2009-11-13 | 1 | -3/+1 |
| | | | | | llvm-svn: 87056 | ||||
| * | use lower case for readability | Jim Grosbach | 2009-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 87054 | ||||
| * | Update test. | Daniel Dunbar | 2009-11-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 87049 | ||||
| * | Fix a bootstrap failure. | David Greene | 2009-11-13 | 3 | -24/+79 |
| | | | | | | | | | Provide special isLoadFromStackSlotPostFE and isStoreToStackSlotPostFE interfaces to explicitly request checking for post-frame ptr elimination operands. This uses a heuristic so it isn't reliable for correctness. llvm-svn: 87047 | ||||
| * | Re-enable this code, since redundant PHIs are now being better nuked. | Owen Anderson | 2009-11-12 | 1 | -4/+0 |
| | | | | | llvm-svn: 87042 | ||||
| * | Simplify code a bit | Bill Wendling | 2009-11-12 | 1 | -4/+3 |
| | | | | | llvm-svn: 87040 | ||||
| * | Refactor code that checks if it's a call to a "nounwind" function. | Bill Wendling | 2009-11-12 | 2 | -31/+40 |
| | | | | | llvm-svn: 87036 | ||||
| * | use isInstructionTriviallyDead, as pointed out by Duncan | Chris Lattner | 2009-11-12 | 1 | -3/+3 |
| | | | | | llvm-svn: 87035 | ||||
| * | Do some cleanups suggested by Chris. | David Greene | 2009-11-12 | 2 | -5/+6 |
| | | | | | llvm-svn: 87034 | ||||
| * | StringRef(const char*) should not be used to turn null pointers into empty | Daniel Dunbar | 2009-11-12 | 1 | -1/+1 |
| | | | | | | | strings. llvm-svn: 87031 | ||||
| * | Set the ReloadReuse AsmPrinter flag where appropriate. | David Greene | 2009-11-12 | 1 | -0/+3 |
| | | | | | llvm-svn: 87030 | ||||
| * | Remove my Value.h build fix. | Daniel Dunbar | 2009-11-12 | 1 | -1/+0 |
| | | | | | llvm-svn: 87029 | ||||
| * | Fix a build error by providing a missing enum value. | David Greene | 2009-11-12 | 1 | -1/+3 |
| | | | | | llvm-svn: 87028 | ||||
| * | Make the MachineFunction argument of getFrameRegister const. | David Greene | 2009-11-12 | 18 | -19/+21 |
| | | | | | | | This also fixes a build error. llvm-svn: 87027 | ||||
| * | Add hasLoadFromStackSlot and hasStoreToStackSlot to return whether a | David Greene | 2009-11-12 | 3 | -12/+101 |
| | | | | | | | | | | | | | | | | machine instruction loads or stores from/to a stack slot. Unlike isLoadFromStackSlot and isStoreFromStackSlot, the instruction may be something other than a pure load/store (e.g. it may be an arithmetic operation with a memory operand). This helps AsmPrinter determine when to print a spill/reload comment. This is only a hint since we may not be able to figure this out in all cases. As such, it should not be relied upon for correctness. Implement for X86. Return false by default for other architectures. llvm-svn: 87026 | ||||
| * | Attempt to unbreak LLVM build, David G. please check. | Daniel Dunbar | 2009-11-12 | 1 | -0/+1 |
| | | | | | llvm-svn: 87025 | ||||
| * | Fix -Asserts warning. | Daniel Dunbar | 2009-11-12 | 1 | -2/+1 |
| | | | | | llvm-svn: 87024 | ||||
| * | If there's more than one function operand to a call instruction, be conservative | Bill Wendling | 2009-11-12 | 1 | -1/+12 |
| | | | | | | | | | | and don't assume that the call doesn't throw. It would be nice if there were a way to determine which is the callee and which is a parameter. In practice, the architecture we care about normally only have one operand for a call instruction (x86 and arm). llvm-svn: 87023 | ||||
| * | Add a bool flag to StackObjects telling whether they reference spill | David Greene | 2009-11-12 | 28 | -103/+172 |
| | | | | | | | | | | | | | | slots. The AsmPrinter will use this information to determine whether to print a spill/reload comment. Remove default argument values. It's too easy to pass a wrong argument value when multiple arguments have default values. Make everything explicit to trap bugs early. Update all targets to adhere to the new interfaces.. llvm-svn: 87022 | ||||
| * | Add compare_lower and equals_lower methods to StringRef. Switch all users of | Benjamin Kramer | 2009-11-12 | 5 | -8/+35 |
| | | | | | | | StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020 | ||||
| * | Make FixedStackPseudoSourceValue a first-class PseudoSourceValue by | David Greene | 2009-11-12 | 2 | -24/+36 |
| | | | | | | | | | making it visible to clients and adding LLVM-style cast capability. This will be used by AsmPrinter to determine when to emit spill comments for an instruction. llvm-svn: 87019 | ||||
| * | Add AsmPrinter comment flags to machine instructions so that AsmPrinter | David Greene | 2009-11-12 | 1 | -0/+24 |
| | | | | | | | can emit extra information in comments. llvm-svn: 87018 | ||||
| * | Add comment flags so AsmPrinter can output additional information when | David Greene | 2009-11-12 | 1 | -0/+8 |
| | | | | | | | | emitting comments. These flags carry semantic information not otherwise easily derivable from the IR text. llvm-svn: 87016 | ||||
| * | Rename registers to break output dependencies in addition to anti-dependencies. | David Goodwin | 2009-11-12 | 4 | -10/+30 |
| | | | | | llvm-svn: 87015 | ||||
| * | "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵ | Devang Patel | 2009-11-12 | 10 | -456/+16 |
| | | | | | | | make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014 | ||||
| * | Mark DBG_LABEL, EH_LABEL, and GC_LABEL as not-duplicable, since | Dan Gohman | 2009-11-12 | 1 | -0/+3 |
| | | | | | | | they really are not duplicable. llvm-svn: 87009 | ||||

