Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ignore the debug info intrinsics when looking for dependency through basic ↵ | Zhou Sheng | 2009-03-05 | 1 | -0/+5 | |
| | | | | | | block. llvm-svn: 66119 | |||||
* | Add comment to emphasize that the while body is empty. | Bill Wendling | 2009-03-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 66115 | |||||
* | Fix another case where a dbg.declare meant something | Dale Johannesen | 2009-03-05 | 1 | -6/+13 | |
| | | | | | | had 2 uses instead of 1. llvm-svn: 66112 | |||||
* | Temporarily revert r65994. It was causing rdar://6646455. | Bill Wendling | 2009-03-04 | 1 | -20/+6 | |
| | | | | llvm-svn: 66083 | |||||
* | add some helper classes for building light-weight symbolic stack traces | Chris Lattner | 2009-03-04 | 1 | -0/+69 | |
| | | | | | | that get printed when a program crashes. This is the first step of many. llvm-svn: 66076 | |||||
* | Re-commit 65975 and a fix for the problem that | Dale Johannesen | 2009-03-04 | 1 | -0/+2 | |
| | | | | | | | was causing llvm-gcc to fail to build. I've verified it bootstraps now; good enough for me. llvm-svn: 66073 | |||||
* | Add a new 'AddSignalHandler' function to Signals.h that allows | Chris Lattner | 2009-03-04 | 2 | -135/+83 | |
| | | | | | | | | | | | | | arbitrary functions to be run when a crash happens. Delete RemoveDirectoryOnSignal as it is dead and has never had clients. Change PrintStackTraceOnErrorSignal to be implemented in terms of AddSignalHandler. I updated the Win32 versions of these APIs, but can't test them. If there are any problems, I'd be happy to fix them as well. llvm-svn: 66072 | |||||
* | Fix this comment. | Dan Gohman | 2009-03-04 | 1 | -1/+2 | |
| | | | | llvm-svn: 66065 | |||||
* | Add an assertion for a condition that's always true, and not | Dan Gohman | 2009-03-04 | 1 | -0/+3 | |
| | | | | | | immediately obvious. llvm-svn: 66062 | |||||
* | Re-apply 66008, now that the unfoldMemoryOperand bug is fixed. | Dan Gohman | 2009-03-04 | 4 | -127/+298 | |
| | | | | llvm-svn: 66058 | |||||
* | Correct this comment. | Dan Gohman | 2009-03-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 66057 | |||||
* | When using MachineInstr operand indices on SDNodes, the number | Dan Gohman | 2009-03-04 | 1 | -3/+4 | |
| | | | | | | | | | of MachineInstr def operands must be subtracted out. This bug was uncovered by the recent x86 EFLAGS optimization. Before that, the only instructions that ever needed unfolding were things like CMP32rm, where NumDefs is zero. llvm-svn: 66056 | |||||
* | complete comment. | Chris Lattner | 2009-03-04 | 1 | -1/+3 | |
| | | | | llvm-svn: 66055 | |||||
* | this wasn't intended to be committed. | Chris Lattner | 2009-03-04 | 1 | -2/+1 | |
| | | | | llvm-svn: 66054 | |||||
* | Fix PR3720 by properly propagating alignment information from memcpy/memmove | Chris Lattner | 2009-03-04 | 1 | -7/+34 | |
| | | | | | | onto element accesses. llvm-svn: 66053 | |||||
* | Fix a thinko in the JIT where the address of a GV was only recorded in the map | Nate Begeman | 2009-03-04 | 2 | -6/+16 | |
| | | | | | | | | | on failure to resolve it. Do not abort on failure to resolve an external symbol when using dlsym stubs, since the symbol may not be in the JIT's address space. Just use 0. Allow dlsym stubs to differentiate between GlobalVars and Functions. llvm-svn: 66050 | |||||
* | Fix BuildVectorSDNode::isConstantSplat to handle one-element vectors. | Bob Wilson | 2009-03-04 | 1 | -2/+2 | |
| | | | | | | | It is an error to call APInt::zext with a size that is equal to the value's current size, so use zextOrTrunc instead. llvm-svn: 66039 | |||||
* | Add a restore folder, which shaves a dozen or so machineinstrs off oggenc. ↵ | Owen Anderson | 2009-03-04 | 1 | -6/+75 | |
| | | | | | | Update a testcase to check this. llvm-svn: 66029 | |||||
* | Fix PR3666: isel calls to constant addresses. | Evan Cheng | 2009-03-04 | 3 | -4/+9 | |
| | | | | llvm-svn: 66024 | |||||
* | PR3686: make the legalizer handle bitcast from i80 to x86 long double. | Eli Friedman | 2009-03-04 | 2 | -0/+8 | |
| | | | | llvm-svn: 66021 | |||||
* | Revert r66004 for now; it's causing a variety of test failures. | Dan Gohman | 2009-03-04 | 4 | -295/+127 | |
| | | | | llvm-svn: 66008 | |||||
* | Teach the x86 backend to eliminate "test" instructions by using the EFLAGS | Dan Gohman | 2009-03-04 | 4 | -127/+295 | |
| | | | | | | result from add, sub, inc, and dec instructions in simple cases. llvm-svn: 66004 | |||||
* | Revert unintended commmit. | Dale Johannesen | 2009-03-04 | 1 | -5/+2 | |
| | | | | llvm-svn: 66001 | |||||
* | Skip ptr-to-ptr bitcasts when counting in another case. | Dale Johannesen | 2009-03-04 | 1 | -4/+4 | |
| | | | | llvm-svn: 66000 | |||||
* | Always skip ptr-to-ptr bitcasts when counting, | Dale Johannesen | 2009-03-04 | 2 | -7/+10 | |
| | | | | | | per Chris' suggestion. Slightly faster. llvm-svn: 65999 | |||||
* | Fix PR3701. 1. X86 target renamed eflags register to flags. This matches ↵ | Evan Cheng | 2009-03-04 | 2 | -26/+55 | |
| | | | | | | what llvm-gcc generates so codegen knows flags register is being clobbered by inline asm. 2. BURR scheduler should also check if inline asm nodes can clobber "live" physical registers. Previously it was only checking target nodes with implicit defs. llvm-svn: 65996 | |||||
* | If a global constant is dead then global's debug info should not prevent the ↵ | Devang Patel | 2009-03-04 | 1 | -6/+20 | |
| | | | | | | optimizer in deleting the global. And while deleting global, delete global's debug info also. llvm-svn: 65994 | |||||
* | Make my earlier patch to skip debug intrinsics | Dale Johannesen | 2009-03-04 | 1 | -2/+1 | |
| | | | | | | when counting work; it was only off by 1. llvm-svn: 65993 | |||||
* | The DAG combiner was performing a BT combine. The BT combine had a value of -1, | Bill Wendling | 2009-03-04 | 1 | -11/+22 | |
| | | | | | | | | | | | | so it changed it into a 31 via the TLO.ShrinkDemandedConstant() call. Then it would go through the DAG combiner again. This time it had a value of 31, which was turned into a -1 by TLI.SimplifyDemandedBits(). This would ping pong forever. Teach the TLO.ShrinkDemandedConstant() call not to lower a value if the demanded value is an XOR of all ones. llvm-svn: 65985 | |||||
* | Marking debug info intrinsics as not touching memory | Dale Johannesen | 2009-03-03 | 1 | -0/+3 | |
| | | | | | | caused them to be considered trivially dead. Fix this. llvm-svn: 65979 | |||||
* | Instruction counters must skip the bitcasts that | Dale Johannesen | 2009-03-03 | 2 | -1/+11 | |
| | | | | | | | feed into llvm.dbg.declare nodes, as well as the debug directives themselves. llvm-svn: 65976 | |||||
* | Recursively remove dead argument while removing llvm.dbg.declare intrinsic. | Devang Patel | 2009-03-03 | 1 | -2/+3 | |
| | | | | llvm-svn: 65971 | |||||
* | When removing a store to an alloca that has only one | Dale Johannesen | 2009-03-03 | 2 | -12/+49 | |
| | | | | | | | | use, check also for the case where it has two uses, the other being a llvm.dbg.declare. This is needed so debug info doesn't affect codegen. llvm-svn: 65970 | |||||
* | don't #include a header into the middle of an anon namespace. | Chris Lattner | 2009-03-03 | 1 | -7/+5 | |
| | | | | llvm-svn: 65967 | |||||
* | Add '(implicit EFLAGS)' for AND, OR, XOR, NEG, INC, and DEC | Dan Gohman | 2009-03-03 | 2 | -111/+220 | |
| | | | | | | instructions. These aren't used yet. llvm-svn: 65965 | |||||
* | Use early exit to reduce indentation. No functional change. | Bob Wilson | 2009-03-03 | 1 | -128/+128 | |
| | | | | llvm-svn: 65962 | |||||
* | Remove accidental check-ins in r65960. :-( | Bill Wendling | 2009-03-03 | 1 | -5/+1 | |
| | | | | llvm-svn: 65961 | |||||
* | Use > instead of >=. We want to promote aggregates of 128-bytes. | Bill Wendling | 2009-03-03 | 2 | -2/+6 | |
| | | | | llvm-svn: 65960 | |||||
* | Reapply r65755, but reversing "<" to ">=". | Bill Wendling | 2009-03-03 | 1 | -2/+3 | |
| | | | | llvm-svn: 65945 | |||||
* | Oops. | Mikhail Glushenkov | 2009-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 65942 | |||||
* | 80-column violation + trailing whitespace. | Mikhail Glushenkov | 2009-03-03 | 1 | -59/+59 | |
| | | | | llvm-svn: 65936 | |||||
* | Ignore the debug info intrinsics when adding instructions into alias sets. | Zhou Sheng | 2009-03-03 | 1 | -0/+3 | |
| | | | | llvm-svn: 65934 | |||||
* | Fix a bunch of Doxygen syntax issues. Escape special characters, | Dan Gohman | 2009-03-03 | 8 | -19/+19 | |
| | | | | | | and put @file directives on their own comment line. llvm-svn: 65920 | |||||
* | Don't count DebugInfo instructions in another limit | Dale Johannesen | 2009-03-03 | 1 | -1/+7 | |
| | | | | | | (lest they affect codegen). llvm-svn: 65915 | |||||
* | When sinking an insn in InstCombine bring its debug | Dale Johannesen | 2009-03-03 | 2 | -2/+26 | |
| | | | | | | | | info with it. Don't count debug info insns against the scan maximum in FindAvailableLoadedValue (lest they affect codegen). llvm-svn: 65910 | |||||
* | Ignore debug info intrinsics. | Devang Patel | 2009-03-03 | 1 | -1/+5 | |
| | | | | llvm-svn: 65908 | |||||
* | If branch conditions' one successor is dominating another non-latch ↵ | Devang Patel | 2009-03-02 | 1 | -0/+15 | |
| | | | | | | successor then this loop's iteration space can not be restricted. In this example block bb5 is always executed. llvm-svn: 65902 | |||||
* | Generalize BuildVectorSDNode::isConstantSplat to use APInts and handle | Bob Wilson | 2009-03-02 | 2 | -86/+60 | |
| | | | | | | | | arbitrary vector sizes. Add an optional MinSplatBits parameter to specify a minimum for the splat element size. Update the PPC target to use the revised interface. llvm-svn: 65899 | |||||
* | Fix the calculation for how big the allocated stub needs to be. | Nate Begeman | 2009-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 65895 | |||||
* | Remove all dbg symobls, including those with circular references. | Devang Patel | 2009-03-02 | 1 | -3/+15 | |
| | | | | | | This is ugly, but I can't figure out a quick way out of this. llvm-svn: 65889 |