summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix BuildVectorSDNode::isConstantSplat to handle one-element vectors.Bob Wilson2009-03-041-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
* .emacs file bits for automatically setting the llvm.org coding style. ↵Mike Stump2009-03-041-0/+24
| | | | | | Thanks Anton. llvm-svn: 66032
* Add a restore folder, which shaves a dozen or so machineinstrs off oggenc. ↵Owen Anderson2009-03-042-7/+76
| | | | | | Update a testcase to check this. llvm-svn: 66029
* "Ghostify" embedded sentinels. This is a real win in all casesGabor Greif2009-03-043-9/+10
| | | | | | | | | because less bytes are allocated and subobject construction is gone. For reference how it works, see BasicBlock.h. Btw. it is very assuring to see that somebody has invented this ilist-embedded sentinel technique before me :-) llvm-svn: 66026
* Fix PR3666: isel calls to constant addresses.Evan Cheng2009-03-044-4/+18
| | | | llvm-svn: 66024
* PR3686: make the legalizer handle bitcast from i80 to x86 long double.Eli Friedman2009-03-043-0/+20
| | | | llvm-svn: 66021
* Revert r66004 for now; it's causing a variety of test failures.Dan Gohman2009-03-045-317/+127
| | | | llvm-svn: 66008
* Rename test.Evan Cheng2009-03-041-0/+0
| | | | llvm-svn: 66006
* Teach the x86 backend to eliminate "test" instructions by using the EFLAGSDan Gohman2009-03-045-127/+317
| | | | | | result from add, sub, inc, and dec instructions in simple cases. llvm-svn: 66004
* Revert unintended commmit.Dale Johannesen2009-03-041-5/+2
| | | | llvm-svn: 66001
* Skip ptr-to-ptr bitcasts when counting in another case.Dale Johannesen2009-03-041-4/+4
| | | | llvm-svn: 66000
* Always skip ptr-to-ptr bitcasts when counting,Dale Johannesen2009-03-042-7/+10
| | | | | | per Chris' suggestion. Slightly faster. llvm-svn: 65999
* Fix PR3701. 1. X86 target renamed eflags register to flags. This matches ↵Evan Cheng2009-03-043-26/+72
| | | | | | 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 Patel2009-03-042-6/+72
| | | | | | 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 intrinsicsDale Johannesen2009-03-042-2/+81
| | | | | | when counting work; it was only off by 1. llvm-svn: 65993
* Temporarily revert 65975, which breaks the llvm-gcc build.Dale Johannesen2009-03-041-2/+0
| | | | | | | | While the patch is clearly correct in itself, it's become apparent other places are assuming debug intrinsics are marked as touching memory...this needs more testing. llvm-svn: 65992
* The DAG combiner was performing a BT combine. The BT combine had a value of -1,Bill Wendling2009-03-042-11/+59
| | | | | | | | | | | | 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 memoryDale Johannesen2009-03-031-0/+3
| | | | | | caused them to be considered trivially dead. Fix this. llvm-svn: 65979
* Instruction counters must skip the bitcasts thatDale Johannesen2009-03-033-1/+271
| | | | | | | feed into llvm.dbg.declare nodes, as well as the debug directives themselves. llvm-svn: 65976
* Dbg Intrinsics do not access memory.Devang Patel2009-03-031-8/+11
| | | | llvm-svn: 65975
* Recursively remove dead argument while removing llvm.dbg.declare intrinsic.Devang Patel2009-03-031-2/+3
| | | | llvm-svn: 65971
* When removing a store to an alloca that has only oneDale Johannesen2009-03-033-12/+157
| | | | | | | | 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 Lattner2009-03-031-7/+5
| | | | llvm-svn: 65967
* Add '(implicit EFLAGS)' for AND, OR, XOR, NEG, INC, and DECDan Gohman2009-03-032-111/+220
| | | | | | instructions. These aren't used yet. llvm-svn: 65965
* Use early exit to reduce indentation. No functional change.Bob Wilson2009-03-031-128/+128
| | | | llvm-svn: 65962
* Remove accidental check-ins in r65960. :-(Bill Wendling2009-03-032-6/+2
| | | | llvm-svn: 65961
* Use > instead of >=. We want to promote aggregates of 128-bytes.Bill Wendling2009-03-033-3/+7
| | | | llvm-svn: 65960
* Make a comment less terse.Dan Gohman2009-03-031-1/+2
| | | | llvm-svn: 65953
* Reapply r65755, but reversing "<" to ">=".Bill Wendling2009-03-031-2/+3
| | | | llvm-svn: 65945
* Add example/Skeleton.Mikhail Glushenkov2009-03-039-3/+109
| | | | | | | This is a template that can be used to build your own LLVMC-based drivers. It can be also useful as a "bare-bones" LLVMC. llvm-svn: 65944
* Comment fixes.Mikhail Glushenkov2009-03-032-10/+17
| | | | llvm-svn: 65943
* Oops.Mikhail Glushenkov2009-03-031-1/+1
| | | | llvm-svn: 65942
* Use LLVMLIBS instead of USEDLIBS.Mikhail Glushenkov2009-03-031-1/+1
| | | | | | | | Since this Makefile is supposed to be usable from LLVM-based projects not in the tree, LLVMLIBS should be used instead of USEDLIBS. This depends on my previous fix to Makefile.rules. llvm-svn: 65941
* LINK_COMPONENTS should be added to LLVMLibsOptions.Mikhail Glushenkov2009-03-031-2/+2
| | | | | | | | | | From the code: "There are "Proj" libs (defined by the user's project) and "LLVM" libs (defined by the LLVM project)." LINK_COMPONENTS are clearly defined by the LLVM project. Additionally, this fixes an issue with llvmc's build process:-) llvm-svn: 65940
* Move example plugins to the example/ directory.Mikhail Glushenkov2009-03-035-0/+0
| | | | llvm-svn: 65939
* ENABLE_PIC is either 0 or 1, but is always defined.Nick Lewycky2009-03-031-1/+1
| | | | llvm-svn: 65938
* 80-column violation + trailing whitespace.Mikhail Glushenkov2009-03-031-59/+59
| | | | llvm-svn: 65936
* Ignore the debug info intrinsics when adding instructions into alias sets.Zhou Sheng2009-03-032-0/+86
| | | | llvm-svn: 65934
* This bug's been fixed but a version with the fix hasn't been released yet.Nick Lewycky2009-03-031-3/+3
| | | | llvm-svn: 65931
* Regenerate.Nick Lewycky2009-03-031-25/+33
| | | | llvm-svn: 65928
* Switch to using -Wl,-R on Solaris.Nick Lewycky2009-03-033-3/+13
| | | | llvm-svn: 65927
* Fix build on Cygwin.Nick Lewycky2009-03-031-2/+8
| | | | llvm-svn: 65922
* Fix a bunch of Doxygen syntax issues. Escape special characters,Dan Gohman2009-03-0316-30/+34
| | | | | | and put @file directives on their own comment line. llvm-svn: 65920
* Don't count DebugInfo instructions in another limitDale Johannesen2009-03-031-1/+7
| | | | | | (lest they affect codegen). llvm-svn: 65915
* Testcase for line number sinking in InstCombine.Dale Johannesen2009-03-031-0/+57
| | | | llvm-svn: 65911
* When sinking an insn in InstCombine bring its debugDale Johannesen2009-03-033-2/+31
| | | | | | | | 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 Patel2009-03-031-1/+5
| | | | llvm-svn: 65908
* If branch conditions' one successor is dominating another non-latch ↵Devang Patel2009-03-022-0/+79
| | | | | | 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 handleBob Wilson2009-03-023-93/+72
| | | | | | | | 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
* Document the -gcc-tool-args bugpoint option.Bill Wendling2009-03-021-1/+6
| | | | llvm-svn: 65897
OpenPOWER on IntegriCloud