summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Typo.Chad Rosier2012-12-131-1/+1
| | | | llvm-svn: 170050
* Make the MCStreamer have a reset method and call that after finalization of ↵Pedro Artigas2012-12-1210-31/+68
| | | | | | | | the asm printer, also changed MCContext to a single reset only method for simplicity as requested on the list llvm-svn: 170041
* [ms-inline asm] Make sure we fail gracefully on parse errors. Parse errorsChad Rosier2012-12-121-2/+9
| | | | | | | | should only occur on invalid input. Instruction matching errors aren't unexpected, so we can't rely on the AsmParsers HadError variable directly. rdar://12840278 llvm-svn: 170037
* YAMLIO: Remove all of the template instantiation hacks, I don't see why ↵Benjamin Kramer2012-12-122-423/+326
| | | | | | | | they're necessary and it breaks linking of the unit tests. Also comes with a clang-format run on the cpp file, it had major style violations. llvm-svn: 170036
* Temporarily disable test cases until they compile with g++ too.Nick Kledzik2012-12-121-0/+4
| | | | llvm-svn: 170035
* Unbreak the build. Fallout from r170019.David Blaikie2012-12-121-1/+1
| | | | llvm-svn: 170033
* AlignedCharArrayUnion is erroring with non-clang compilersNick Kledzik2012-12-121-6/+6
| | | | llvm-svn: 170031
* Fix calls to getAsSignedInteger() to use long long - not int64_tNick Kledzik2012-12-121-21/+25
| | | | llvm-svn: 170030
* Makefile.sphinx: reST conversion is complete!Dmitri Gribenko2012-12-121-4/+0
| | | | | | No need to copy HTML files anymore. llvm-svn: 170029
* Documentation: use paths relative to document root in links.Dmitri Gribenko2012-12-121-1/+1
| | | | llvm-svn: 170027
* Fix typo, which prevent test from being check.Jakub Staszak2012-12-121-3/+3
| | | | llvm-svn: 170025
* Restore the PHI optimization I accidently removedMichael Ilseman2012-12-121-0/+4
| | | | llvm-svn: 170024
* unHECKify test fixed by Jacob in r159003.Jakub Staszak2012-12-121-8/+6
| | | | llvm-svn: 170023
* Remove trailing whitespaceMichael Ilseman2012-12-121-39/+39
| | | | llvm-svn: 170022
* Fix the build on case sensitive file systems.Benjamin Kramer2012-12-121-4/+2
| | | | llvm-svn: 170021
* Simplify negated bit testDavid Majnemer2012-12-122-0/+44
| | | | llvm-svn: 170020
* Initial implementation of a utility for converting native data Nick Kledzik2012-12-127-0/+4152
| | | | | | | | | structures to and from YAML using traits. The first client will be the test suite of lld. The documentation will show up at: http://llvm.org/docs/YamlIO.html llvm-svn: 170019
* Fix a logic bug in inline expansion of memcpy / memset with an overlappingEvan Cheng2012-12-122-4/+16
| | | | | | | load / store pair. It's not legal to use a wider load than the size of the remaining bytes if it's the first pair of load / store. llvm-svn: 170018
* unHECKify test. It was fixed by Chris in 2009.Jakub Staszak2012-12-121-8/+5
| | | | llvm-svn: 170017
* The ordering of two relocations on the same instruction is apparently notBill Schmidt2012-12-121-3/+8
| | | | | | | | predictable when compiled on at least one non-PowerPC host. Source of nondeterminism not apparent. Restrict the test to build on PowerPC hosts for now while looking into the issue further. llvm-svn: 170016
* Fix typo in test-case.Jakub Staszak2012-12-121-8/+8
| | | | llvm-svn: 170015
* [mips] Fix a memory leak bug report by NAKAMURA Takumi.Akira Hatanaka2012-12-121-5/+6
| | | | llvm-svn: 170012
* Documentation: SphinxQuickstartTemplate.rst: add guidelines about highlightingDmitri Gribenko2012-12-121-3/+6
| | | | | | console sessions and add more highlighter names. llvm-svn: 170011
* Make naming consistent, add comments and sanity assertsEli Bendersky2012-12-122-29/+33
| | | | llvm-svn: 170007
* Fix typo.Jakub Staszak2012-12-121-4/+4
| | | | llvm-svn: 170006
* Fix indentation.Nadav Rotem2012-12-121-4/+3
| | | | llvm-svn: 170005
* LoopVectorizer: Use the "optsize" attribute to decide if we are allowed to ↵Nadav Rotem2012-12-126-10/+185
| | | | | | increase the function size. llvm-svn: 170004
* This patch implements local-dynamic TLS model support for the 64-bitBill Schmidt2012-12-1215-19/+331
| | | | | | | | | | | | | | | | | | | | | | PowerPC target. This is the last of the four models, so we now have full TLS support. This is mostly a straightforward extension of the general dynamic model. I had to use an additional Chain operand to tie ADDIS_DTPREL_HA to the register copy following ADDI_TLSLD_L; otherwise everything above the ADDIS_DTPREL_HA appeared dead and was removed. As before, there are new test cases to test the assembly generation, and the relocations output during integrated assembly. The expected code gen sequence can be read in test/CodeGen/PowerPC/tls-ld.ll. There are a couple of things I think can be done more efficiently in the overall TLS code, so there will likely be a clean-up patch forthcoming; but for now I want to be sure the functionality is in place. Bill llvm-svn: 170003
* Kerning.Bill Wendling2012-12-121-1/+1
| | | | llvm-svn: 170002
* Documentation: llvm-bcanalyzer.rst: cleanup.Dmitri Gribenko2012-12-121-170/+51
| | | | llvm-svn: 170001
* Documentation: AliasAnalysis.rst: improve internal and external linksDmitri Gribenko2012-12-121-19/+18
| | | | llvm-svn: 169993
* Documentation: convert WritingAnLLVMPass.html to reST.Dmitri Gribenko2012-12-128-1967/+1456
| | | | | | Patch by Anthony Mykhailenko with small fixes by me. llvm-svn: 169992
* Documentation: cleanupDmitri Gribenko2012-12-121-3/+4
| | | | llvm-svn: 169990
* The TargetData is not used for the isPowerOfTwo determination. It has neverRafael Espindola2012-12-124-18/+15
| | | | | | | | | | been used in the first place. It simply was passed to the function and to the recursive invocations. Simply drop the parameter and update the callers for the new signature. Patch by Saleem Abdulrasool! llvm-svn: 169988
* Improve debug info generated with enabled AddressSanitizer.Alexey Samsonov2012-12-125-0/+105
| | | | | | | | | | | | When ASan replaces <alloca instruction> with <offset into a common large alloca>, it should also patch llvm.dbg.declare calls and replace debug info descriptors to mark that we've replaced alloca with a value that stores an address of the user variable, not the user variable itself. See PR11818 for more context. llvm-svn: 169984
* Documentation: use a 'console' highlighter for terminal output examples. ThisDmitri Gribenko2012-12-122-11/+11
| | | | | | gives a nicer output than 'bash'. llvm-svn: 169981
* Documentation: use a 'console' highlighter for terminal output examples. ThisDmitri Gribenko2012-12-122-37/+37
| | | | | | gives a nicer output than 'bash'. llvm-svn: 169979
* llvm/test/CodeGen/X86/atom-bypass-slow-division.ll: Fix possible typo(s) in ↵NAKAMURA Takumi2012-12-121-4/+4
| | | | | | | | CHECK-NOT lines. Found by Alexander Zinenko, thanks! llvm-svn: 169978
* llvm/test/CodeGen/X86/atom-bypass-slow-division.ll: Rename symbols, ↵NAKAMURA Takumi2012-12-121-20/+20
| | | | | | s/test_/Test/g, not to mismatch "CHECK(-NOT): test". llvm-svn: 169977
* Add ARM NONE and PREL31 relocation types.Logan Chien2012-12-123-3/+16
| | | | | | | | Add R_ARM_NONE and R_ARM_PREL31 relocation types to MCExpr. Both of them will be used while generating .ARM.extab and .ARM.exidx sections. llvm-svn: 169965
* Remove some dead code.Rafael Espindola2012-12-121-8/+0
| | | | llvm-svn: 169963
* [CMake] Fixup R600.NAKAMURA Takumi2012-12-121-1/+1
| | | | llvm-svn: 169962
* Sorry about the churn. One more change to getOptimalMemOpType() hook. Did IEvan Cheng2012-12-1210-44/+43
| | | | | | | | | | | | mention the inline memcpy / memset expansion code is a mess? This patch split the ZeroOrLdSrc argument into two: IsMemset and ZeroMemset. The first indicates whether it is expanding a memset or a memcpy / memmove. The later is whether the memset is a memset of zero. It's totally possible (likely even) that targets may want to do different things for memcpy and memset of zero. llvm-svn: 169959
* llvm/test/CodeGen/X86/store_op_load_fold.ll: Fix typo, s/CHECK_NEXT/CHECK-NEXT/NAKAMURA Takumi2012-12-121-1/+1
| | | | llvm-svn: 169957
* llvm/test/CodeGen/X86/store_op_load_fold.ll: Add explicit triple.NAKAMURA Takumi2012-12-121-1/+1
| | | | llvm-svn: 169956
* Fix the ascii drawing that was ruined when I split the H and CPPNadav Rotem2012-12-121-10/+10
| | | | llvm-svn: 169955
* - Rename isLegalMemOpType to isSafeMemOpType. "Legal" is a very overloade term.Evan Cheng2012-12-1210-43/+34
| | | | | | | | | Also added more comments to explain why it is generally ok to return true. - Rename getOptimalMemOpType argument IsZeroVal to ZeroOrLdSrc. It's meant to be true for loaded source (memcpy) or zero constants (memset). The poor name choice is probably some kind of legacy issue. llvm-svn: 169954
* fix a typo.Nadav Rotem2012-12-121-1/+1
| | | | llvm-svn: 169953
* DAGCombine: clamp hi bit in APInt::getBitsSet to avoid assertionManman Ren2012-12-122-2/+20
| | | | | | rdar://12838504 llvm-svn: 169951
* LoopVectorizer: When -Os is used, vectorize only loops that dont require a ↵Nadav Rotem2012-12-126-31/+70
| | | | | | tail loop. There is no testcase because I dont know of a way to initialize the loop vectorizer pass without adding an additional hidden flag. llvm-svn: 169950
OpenPOWER on IntegriCloud