aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* My last commit was not correct for nested loops. Fix it, and add a testcase ↵Owen Anderson2007-07-252-1/+41
| | | | | | for it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40498 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an infinite loop on 300.twolf.Owen Anderson2007-07-252-6/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40497 91177308-0d34-0410-b5e6-96231b3b80d8
* Forgot to include this file in my last commit.Owen Anderson2007-07-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40496 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in non-local memdep that was causing an infinite loop on 175.vpr.Owen Anderson2007-07-252-3/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40495 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug that was causing GVN to crash on 252.eon.Owen Anderson2007-07-252-2/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40494 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix example code.Devang Patel2007-07-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8
* Add basic support for performing whole-function RLE.Owen Anderson2007-07-256-44/+195
| | | | | | | Note: This has not yet been thoroughly tested. Use at your own risk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40489 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving regression test to reflect move in source and headers to Bitcode.Chandler Carruth2007-07-253-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40488 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't ignore the return value of AsmPrinter::doInitialization andDan Gohman2007-07-258-32/+23
| | | | | | | AsmPrinter::doFinalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40487 91177308-0d34-0410-b5e6-96231b3b80d8
* Add BasicInliner interface. Devang Patel2007-07-255-246/+553
| | | | | | | | | This interface allows clients to inline bunch of functions with module level call graph information.:wq git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40486 91177308-0d34-0410-b5e6-96231b3b80d8
* test commitChris Lattner2007-07-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40484 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix debug info and globals filled with zeros.Nick Lewycky2007-07-252-13/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40483 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanup:Anton Korobeynikov2007-07-252-2/+5
| | | | | | | | - Split EH and debug infiormation - Make DwarfWriter more verbose in some cases git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40481 91177308-0d34-0410-b5e6-96231b3b80d8
* Add const to CanBeFoldedBy, CheckAndMask, and CheckOrMask.Dan Gohman2007-07-243-7/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40480 91177308-0d34-0410-b5e6-96231b3b80d8
* A minor simplication in the generated code.Dan Gohman2007-07-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40479 91177308-0d34-0410-b5e6-96231b3b80d8
* Use movaps to load a v4f32 build_vector of all-constant values into aDan Gohman2007-07-242-0/+14
| | | | | | | register instead of loading each element individually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40478 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial support for non-local memory dependence analysis.Owen Anderson2007-07-242-7/+58
| | | | | | | NOTE: This has only been cursorily tested. Expected improvements soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40476 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the copy constructor of SmallPtrSet much faster.Owen Anderson2007-07-241-22/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40474 91177308-0d34-0410-b5e6-96231b3b80d8
* Heal EH handling stuff by emitting correct offsets to callee-saved registers.Anton Korobeynikov2007-07-241-1/+13
| | | | | | | Pretty hackish, but code itself is dirty mess, so we won't make anything worse. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40472 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a GVN pass, using the value numbering code I developed for GVNPRE and theOwen Anderson2007-07-246-0/+850
| | | | | | | load elimination code from RedundantLoadElimination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40469 91177308-0d34-0410-b5e6-96231b3b80d8
* Make output match actual condition tested. Thanks, Duncan.Reid Spencer2007-07-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40464 91177308-0d34-0410-b5e6-96231b3b80d8
* Unreachable block is not a root node in post dominator tree.Devang Patel2007-07-242-2/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40458 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename a lot of things to change FastDLE to RedundantLoadElimination.Owen Anderson2007-07-246-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40457 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename FastDLE as RedundantLoadElimination.Owen Anderson2007-07-241-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40456 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Make sure we print the Function Value for parameter attribute errorsReid Spencer2007-07-231-10/+10
| | | | | | | 2. Fold an if statement into the Assert1 macro call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40455 91177308-0d34-0410-b5e6-96231b3b80d8
* Add better verification of attributes on function types. It is not permittedReid Spencer2007-07-231-0/+9
| | | | | | | | | to use sret or inreg on the function. It is equally illegal to use noreturn or nounwind on a parameter; they only go with the function. This patch enforces these rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40453 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR1567, which involves a weird bug on non-32bit architectures and ↵Chandler Carruth2007-07-231-1/+1
| | | | | | silly C type sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40451 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcases for FastDLE.Owen Anderson2007-07-233-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40449 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't delete volatile loads. Doing so is not safe.Owen Anderson2007-07-231-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40448 91177308-0d34-0410-b5e6-96231b3b80d8
* Forgot to commit this file.Owen Anderson2007-07-231-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40447 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a comment.Owen Anderson2007-07-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40446 91177308-0d34-0410-b5e6-96231b3b80d8
* Add FastDLE, the load-elimination counterpart of FastDSE.Owen Anderson2007-07-232-0/+135
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40445 91177308-0d34-0410-b5e6-96231b3b80d8
* Move these tests to use FastDSE instead of old DSE.Owen Anderson2007-07-239-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40444 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some uses of dyn_cast to be uses of cast.Dan Gohman2007-07-233-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40443 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete the svn:executable property on these files, which aren't executable.Dan Gohman2007-07-238-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40441 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix file header.Owen Anderson2007-07-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40440 91177308-0d34-0410-b5e6-96231b3b80d8
* completely remove a transformation that is unsafe in the face ofChris Lattner2007-07-231-36/+0
| | | | | | | undefs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40439 91177308-0d34-0410-b5e6-96231b3b80d8
* The Ada f-e produces various auxiliary output filesDuncan Sands2007-07-236-15/+15
| | | | | | | | | | | | that cannot be suppressed and cannot be redirected: they are dumped in the current working directory. When running the testsuite this means that these files do not end up in the Output directory. The best solution I could find is to change directory into Output before running tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40437 91177308-0d34-0410-b5e6-96231b3b80d8
* For multipart tests, place the parts with noDuncan Sands2007-07-2320-16/+16
| | | | | | | | RUN line in Support. Give up on sending output to /dev/null - this cannot always be arranged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40436 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore ability to build archives (oops)Reid Spencer2007-07-231-2/+2
| | | | | | | Fix -include line so it doesn't reference /dev/null git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40429 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove bizarre use of /dev/null in a makefile include line that Reid Spencer2007-07-231-2/+2
| | | | | | | | | produces warning from make about bad timestamp on /dev/null Patch by Holger Schurig. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40426 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some validation errors.Bill Wendling2007-07-231-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40417 91177308-0d34-0410-b5e6-96231b3b80d8
* Converted to "svn" and reformatted.Bill Wendling2007-07-231-270/+349
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40416 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead option.Reid Spencer2007-07-231-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40415 91177308-0d34-0410-b5e6-96231b3b80d8
* Small change.Bill Wendling2007-07-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40413 91177308-0d34-0410-b5e6-96231b3b80d8
* Point to the correct SVN repository.Bill Wendling2007-07-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40412 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing SSE builtins:Bill Wendling2007-07-232-10/+52
| | | | | | | | | | | | __builtin_ia32_cvtss2si64 __builtin_ia32_cvttss2si64 __builtin_ia32_cvtsi642ss __builtin_ia32_cvtsd2si64 __builtin_ia32_cvttsd2si64 __builtin_ia32_cvtsi642sd git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40411 91177308-0d34-0410-b5e6-96231b3b80d8
* Report an error if one occurs in releaseModule.Reid Spencer2007-07-221-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40405 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable the string map copy ctor and assignment operators,Chris Lattner2007-07-221-1/+16
| | | | | | | | | | | they don't do the right thing. Implement StringMap::erase. Fix a nasty bug in the default ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40395 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -O1 in favour of making llvm-gcc-4.2 a bitDuncan Sands2007-07-221-2/+1
| | | | | | | smarter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40391 91177308-0d34-0410-b5e6-96231b3b80d8