summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* a missed __builtin_object_size case.Chris Lattner2011-01-011-0/+17
| | | | llvm-svn: 122676
* various updates.Chris Lattner2011-01-011-31/+29
| | | | llvm-svn: 122675
* fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner2011-01-012-0/+14
| | | | | | loop idiom pass exposed. llvm-svn: 122674
* Fix darwin bots.Rafael Espindola2011-01-011-1/+1
| | | | llvm-svn: 122672
* Add support for the 'H' modifier.Rafael Espindola2011-01-012-0/+18
| | | | llvm-svn: 122667
* Update the testAnton Korobeynikov2011-01-011-1/+1
| | | | llvm-svn: 122666
* turn on memset idiom recognition by default. Though there are still lots ofChris Lattner2011-01-011-0/+1
| | | | | | | | | | | limitations, this kicks in dozens of times in the 4 specfp2000 benchmarks, and hundreds of times in the int part. It also kicks in hundreds of times in multisource. This kicks in right before loop deletion, which has the pleasant effect of deleting loops that *just* do a memset. llvm-svn: 122664
* Model operand restrictions of mul-like instructions on ARMv5 viaAnton Korobeynikov2011-01-014-10/+100
| | | | | | | | | earlyclobber stuff. This should fix PRs 2313 and 8157. Unfortunately, no testcase, since it'd be dependent on register assignments. llvm-svn: 122663
* add a validity check that was missed, fixing a crash on theChris Lattner2011-01-012-0/+28
| | | | | | new testcase. llvm-svn: 122662
* Revert commit 122654 at the request of Chris, who reckons that instsimplifyDuncan Sands2011-01-013-133/+63
| | | | | | is the wrong hammer for this nail, and is probably right. llvm-svn: 122661
* improve validity check to handle constant-trip-count loops moreChris Lattner2011-01-012-8/+44
| | | | | | | aggressively. In practice, this doesn't help anything though, see the todo. llvm-svn: 122660
* implement the "no aliasing accesses in loop" safety check. This passChris Lattner2011-01-012-5/+55
| | | | | | should be correct now. llvm-svn: 122659
* Fix PR8878.Rafael Espindola2011-01-012-0/+8
| | | | llvm-svn: 122658
* Correct a bunch of mistakes which meant that the example pass didn'tDuncan Sands2011-01-011-8/+8
| | | | | | even compile, let alone work. llvm-svn: 122657
* I was unable to get the instructions to work if LLVM was builtDuncan Sands2011-01-011-2/+4
| | | | | | using a separate objects directory. llvm-svn: 122656
* Clarify that the loadable module turns up in the top-level directory,Duncan Sands2011-01-011-4/+5
| | | | | | not locally. llvm-svn: 122655
* Fix a README item by having InstructionSimplify do a mild form of valueDuncan Sands2011-01-013-63/+133
| | | | | | | | | | | numbering, in which it considers (for example) "%a = add i32 %x, %y" and "%b = add i32 %x, %y" to be equal because the operands are equal and the result of the instructions only depends on the values of the operands. This has almost no effect (it removes 4 instructions from gcc-as-one-file), and perhaps slows down compilation: I measured a 0.4% slowdown on the large gcc-as-one-file testcase, but it wasn't statistically significant. llvm-svn: 122654
* ptx: remove reg-reg addressing mode and st.constChe-Liang Chiou2011-01-014-39/+15
| | | | llvm-svn: 122653
* ptx: add store instructionChe-Liang Chiou2011-01-015-4/+179
| | | | llvm-svn: 122652
* Add a reference to the OCamlLangImpl8.Erick Tryzelaar2011-01-011-1/+1
| | | | llvm-svn: 122651
* Add an OCaml tutorial page 8Erick Tryzelaar2011-01-012-1/+366
| | | | llvm-svn: 122650
* Add to the list of cmake files the object file, not the asm file. ThisOscar Fuentes2010-12-311-1/+1
| | | | | | | is necessary for executing the custom command that runs the assember. Fixes PR8877. llvm-svn: 122649
* CMake (MSVC): cmake automatically adds the /EHsc and /GR compilerOscar Fuentes2010-12-311-2/+2
| | | | | | | | | | options. If we are building with exceptions/rtti disabled, we replace /EHsc with /EHs-c- and /GR with /GR-, respectively. If we just add the disabling options we get warnings like this: cl : Command line warning D9025 : overriding '/EHs' with '/EHs-' llvm-svn: 122648
* Simplify this pass by using a depth-first iterator to ensure that allDuncan Sands2010-12-311-39/+20
| | | | | | operands are visited before the instructions themselves. llvm-svn: 122647
* Zap dead instructions harder.Duncan Sands2010-12-311-7/+2
| | | | llvm-svn: 122645
* Make a bunch of symbols internal.Benjamin Kramer2010-12-302-19/+19
| | | | llvm-svn: 122642
* Add another non-commutable instruction that gas accepts commuted forms for.Nick Lewycky2010-12-302-3/+8
| | | | | | Fixes PR8861. llvm-svn: 122641
* ptx: add state spacesChe-Liang Chiou2010-12-304-9/+97
| | | | llvm-svn: 122638
* include the module identifier when emitting this warning, PR8865.Chris Lattner2010-12-301-4/+7
| | | | llvm-svn: 122637
* print the right string, thanks for Frits for noticing.Chris Lattner2010-12-301-1/+1
| | | | llvm-svn: 122636
* Use getVRegDef() instead of def_iterator. This leads to fewer defs being addedCameron Zwarich2010-12-301-4/+3
| | | | | | | with 2-address instructions, for about a 3.5% speedup of StrongPHIElimination on 403.gcc. llvm-svn: 122635
* improve warning message to at least say what the triples are.Chris Lattner2010-12-291-1/+3
| | | | llvm-svn: 122632
* Fix stack layout error in MBlaze backend.Wesley Peck2010-12-292-37/+98
| | | | llvm-svn: 122631
* MC/Mach-O/Thumb: Set the thumb bit in the symbol table.Daniel Dunbar2010-12-293-3/+8
| | | | llvm-svn: 122630
* None of the other pass names in CodeGen have terminating periods.Cameron Zwarich2010-12-291-2/+2
| | | | llvm-svn: 122628
* Instead of processing every instruction when splitting interferences, onlyCameron Zwarich2010-12-291-27/+61
| | | | | | | process those instructions that define phi sources. This is a 47% speedup of StrongPHIElimination compile time on 403.gcc. llvm-svn: 122627
* SPARC backend fix: correctly passing arguments through stackVenkatraman Govindaraju2010-12-291-23/+51
| | | | llvm-svn: 122626
* Add a missing word to a comment.Cameron Zwarich2010-12-291-1/+1
| | | | llvm-svn: 122625
* Correctly encode pcrel|indirect.Rafael Espindola2010-12-293-66/+209
| | | | llvm-svn: 122624
* CMake: Add disabling optimization on MSVC8 and MSVC10 as workaround for some ↵NAKAMURA Takumi2010-12-293-3/+11
| | | | | | files in Target/ARM and Target/X86. llvm-svn: 122623
* autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into ↵NAKAMURA Takumi2010-12-294-6/+45
| | | | | | | | llvm.dll with --enable-shared on Cygming. Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available. llvm-svn: 122622
* autoconf: [PR7874] Add --disable-pthreads to suppress detecting pthreads on ↵NAKAMURA Takumi2010-12-292-8/+42
| | | | | | | | certain hosts. This would be needed to build pthread*.dll-free distribution on recent MinGW-MSYS distros. llvm-svn: 122621
* test/Transforms/ConstProp/logicaltest.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-2/+2
| | | | llvm-svn: 122620
* test/CodeGen/X86/negative-sin.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-2/+2
| | | | llvm-svn: 122619
* test/CodeGen/X86/fp-in-intregs.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-1/+2
| | | | llvm-svn: 122618
* Add text explaining an assertion.Cameron Zwarich2010-12-291-1/+3
| | | | llvm-svn: 122617
* Remove second return.Rafael Espindola2010-12-291-1/+0
| | | | llvm-svn: 122616
* Fix bug when trying to output uint16_t or uint32_t.Rafael Espindola2010-12-292-2/+54
| | | | llvm-svn: 122615
* Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. LooksRafael Espindola2010-12-295-14/+102
| | | | | | like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614
* fix PR8867: a crash handling fp128. Thanks to Nick for the testcase.Chris Lattner2010-12-292-1/+10
| | | | llvm-svn: 122613
OpenPOWER on IntegriCloud