summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [docs] Add some more information on missing relocations.Michael J. Spencer2014-03-131-7/+30
| | | | llvm-svn: 203744
* Preserve constness for intermediate pointers.Joerg Sonnenberger2014-03-131-8/+8
| | | | llvm-svn: 203743
* Always use --eh-frame-hdr on NetBSD, even for -static.Joerg Sonnenberger2014-03-132-11/+11
| | | | llvm-svn: 203742
* PR18275: If a member function of a class template is declared with aRichard Smith2014-03-132-0/+35
| | | | | | | | | | | | | | | const-qualified parameter type and the defined with a non-const-qualified parameter type, the parameter is not const inside its body. Ensure that the type we use when instantiating the body is the right one. Patch by suyog sarda! This is still rather unsatisfactory; it seems like it might be better to instantiate at least the function parameters, and maybe the complete function declaration, when we instantiate the definition for such a member function (instead of reusing the declaration from inside the instantiated class definition). llvm-svn: 203741
* llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]NAKAMURA Takumi2014-03-131-1/+1
| | | | | | | FIXME: Get rid of invoking this. I guess it wouldn't run on win32 due to lacking of shell support. llvm-svn: 203740
* Fix typo in comment: "inwoke" -> "invoke"Mark Seaborn2014-03-131-1/+1
| | | | llvm-svn: 203739
* Fix whitespace in vectorizer exampleArnold Schwaighofer2014-03-121-1/+1
| | | | llvm-svn: 203738
* Don’t put Radar numbers in code.Jim Ingham2014-03-121-1/+1
| | | | llvm-svn: 203737
* [docs] Document how to build LLD as a win64 app.Rui Ueyama2014-03-121-1/+4
| | | | llvm-svn: 203736
* Only allow streaming exactly type 'bool' to a DiagnosticBuilder, not anythingRichard Smith2014-03-124-7/+12
| | | | | | | that implicitly converts to 'bool' (such as pointers, and the first operand of ?:). Clean up issues found by this. Patch by Stephan Tolksdorf! llvm-svn: 203735
* Fix vectorizer docs.Arnold Schwaighofer2014-03-121-3/+6
| | | | | | | This example is not vectorized because LLVM does not prove no-wrapping of "a[i*7] += ...". llvm-svn: 203734
* Fix crash if delayed template parsing meets an erroneous trailing return type.Richard Smith2014-03-124-24/+40
| | | | | | | Based on a patch and test by Stephan Tolksdorf! Refactoring and fixing adjacent brokenness by me. llvm-svn: 203733
* decl-derived-member.ll: Try to unbreak. Don't add -mtriple to %llc_dwarf.NAKAMURA Takumi2014-03-121-1/+1
| | | | llvm-svn: 203732
* [ELF] Fix MSVC warning on conversion from enum to bool.Rui Ueyama2014-03-121-2/+1
| | | | | | | This function returns a boolean value, so returning STT_COMMON does not make sense. llvm-svn: 203731
* Remove more empty directories.Rafael Espindola2014-03-120-0/+0
| | | | llvm-svn: 203730
* Remove empty directories.Rafael Espindola2014-03-120-0/+0
| | | | llvm-svn: 203729
* Remove projects/sample.Rafael Espindola2014-03-1250-27470/+7
| | | | | | | | | | | | | | | As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. llvm-svn: 203728
* MCDwarf: Remove unused parameterDavid Blaikie2014-03-121-5/+4
| | | | llvm-svn: 203727
* MCDwarf: Invert the Section+CU->LineEntries mapping so the CU is the primary ↵David Blaikie2014-03-124-81/+26
| | | | | | | | | | | | | | | | | | | | | | | | dimension This makes the mapping consistent with other CU->X mappings in the MCContext, helping pave the way to refactor all these values into a single data structure per CU and thus a single map. I haven't renamed the data structure as that would make the patch churn even higher (the MCLineSection name no longer makes sense, as this structure now contains lines for multiple sections covered by a single CU, rather than lines for a single section in multiple CUs) and further refactorings will follow that may remove this type entirely. For convenience, I also gave the MCLineSection value semantics so we didn't have to do the lazy construction, manual delete, etc. (& for those playing at home, refactoring the line printing into a single data structure will eventually alow that data structure to be reused to own the debug_line.dwo line table used for type unit file name resolution) llvm-svn: 203726
* This test need the X86 backend, move it to the X86 sub directory.Rafael Espindola2014-03-121-0/+0
| | | | llvm-svn: 203725
* When clearing a breakpoint site, make sure the owning process still exists ↵Jim Ingham2014-03-122-1/+9
| | | | | | | | before asking it to remove the breakpoint site the rest of the way. <rdar://problem/16303500> llvm-svn: 203724
* Back out Profile library and dependent commitsJustin Bogner2014-03-1242-946/+199
| | | | | | | | | Chandler voiced some concern with checking this in without some discussion first. Reverting for now. This reverts r203703, r203704, r203708, and 203709. llvm-svn: 203723
* MS intrinsics: implement the __movs and __stos intrinsics (PR19054)Hans Wennborg2014-03-121-0/+54
| | | | llvm-svn: 203722
* Fix polly tests to not include aliases to declarations.Rafael Espindola2014-03-122-28/+84
| | | | llvm-svn: 203721
* Thread Safety Analysis: new test case for lambdasDeLesley Hutchins2014-03-121-2/+33
| | | | llvm-svn: 203720
* PR17473:Michael Zolotukhin2014-03-122-3/+88
| | | | | | | Don't normalize an expression during postinc transformation unless it's invertible. llvm-svn: 203719
* [X86] Add peephole for masked rotate amountAdam Nemet2014-03-122-0/+10
| | | | | | | | | | | | | | | | Extend what's currently done for shift because the HW performs this masking implicitly: (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y) I use the newly factored out multiclass that was only supporting shifts so far. For testing I extended my testcase for the new rotation idiom. <rdar://problem/15295856> llvm-svn: 203718
* Fix the ocaml test to not create a alias to a declaration.Rafael Espindola2014-03-121-1/+2
| | | | llvm-svn: 203717
* Test commitMichael Zolotukhin2014-03-121-0/+1
| | | | llvm-svn: 203716
* MS intrinsics: implement __readgs{byte,word,dword,qword} (PR19054)Hans Wennborg2014-03-121-4/+27
| | | | llvm-svn: 203715
* MS intrinsics: don't declare __readeflags and __writeeflags in Intrin.hHans Wennborg2014-03-122-2/+5
| | | | | | | | They're already defined in ia32intrin.h, and this would cause including Intrin.h in 64-bit mode to fail because of conflicting types. Update ms-intrin.cpp to also run in 64-bit mode to catch things like this. llvm-svn: 203714
* Revert "profile: Use a simple binary format for profiling"Justin Bogner2014-03-121-155/+37
| | | | | | | | | This will break without the corresponding change in clang, which I've reverted until I figure out how to get it to link properly. This reverts commit r203710. llvm-svn: 203713
* Revert "CodeGen: Use a binary format for instrumentation based profiling"Justin Bogner2014-03-1212-53/+179
| | | | | | | | | I've clearly done something wrong with how to get this to link correctly. Reverting for now. This reverts commit r203711. llvm-svn: 203712
* CodeGen: Use a binary format for instrumentation based profilingJustin Bogner2014-03-1212-179/+53
| | | | | | | | This updates CodeGenPGO to use the ProfileDataReader introduced to llvm in r203703 and the new API for writing out the profile introduced to compiler-rt in r203710. llvm-svn: 203711
* profile: Use a simple binary format for profilingJustin Bogner2014-03-121-37/+155
| | | | llvm-svn: 203710
* Profile: Avoid an unnecessary __attribute__((packed))Justin Bogner2014-03-122-9/+3
| | | | | | MSVC doesn't understand it, and it wasn't really necessary anyway. llvm-svn: 203709
* Profile: Remove an inefficient and unnecessary API functionJustin Bogner2014-03-123-27/+9
| | | | | | | This was leftover from an approach I abandoned, but I forgot to update it before committing. llvm-svn: 203708
* Resubmit "[SLPV] Recognize vectorizable intrinsics during SLP vectorization ..."Raul E. Silvera2014-03-122-0/+158
| | | | | | | This reverts commit 86cb795388643710dab34941ddcb5a9470ac39d8. The problems previously found have been resolved through other CLs. llvm-svn: 203707
* Add a triple to fix the test on OS X.Rafael Espindola2014-03-121-1/+1
| | | | llvm-svn: 203706
* Reject alias to undefined symbols in the verifier.Rafael Espindola2014-03-1217-63/+166
| | | | | | | | | | | | | | | On ELF and COFF an alias is just another name for a position in the file. There is no way to refer to a position in another file, so an alias to undefined is meaningless. MachO currently doesn't support aliases. The spec has a N_INDR, which when implemented will have a different set of restrictions. Adding support for it shouldn't be harder than any other IR extension. For now, having the IR represent what is actually possible with current tools makes it easier to fix the design of GlobalAlias. llvm-svn: 203705
* llvm-profdata: Use the Profile library, implement show and generateJustin Bogner2014-03-1230-197/+417
| | | | | | | | This replaces the llvm-profdata tool with a version that uses the recently introduced Profile library. The new tool has the ability to generate and summarize profdata files as well as merging them. llvm-svn: 203704
* Profile: Add a library for the instrumentation based profiling formatJustin Bogner2014-03-1212-2/+553
| | | | | | | | | | | This provides a library to work with the instrumentation based profiling format that is used by clang's -fprofile-instr-* options and by the llvm-profdata tool. This is a binary format, rather than the textual one that's currently in use. The tests are in the subsequent commits that use this. llvm-svn: 203703
* Fix two thinkos in testcase and remove XFAIL.Eric Christopher2014-03-121-2/+3
| | | | llvm-svn: 203702
* Use -std=gnu++11 on cygwin and mingw.Rafael Espindola2014-03-122-2/+14
| | | | | | | | | Without this common features like off_t and strdup are missing. This should bring back those bots. Configure bits by Meador Inge. llvm-svn: 203701
* Dont unconditionally add gcc4.2 include paths on FreeBSD.Roman Divacky2014-03-121-5/+0
| | | | | | Newer FreeBSD doesnt ship with gcc and defaults to using libc++. llvm-svn: 203700
* Allow exclamation and tilde to be parsed as a part of the ppc asm operand.Roman Divacky2014-03-122-0/+9
| | | | llvm-svn: 203699
* XFAIL this temporarily.Eric Christopher2014-03-121-0/+1
| | | | llvm-svn: 203698
* Move test to X86 only for now.Eric Christopher2014-03-121-0/+0
| | | | llvm-svn: 203697
* add dependence of check-polly on llcSebastian Pop2014-03-121-1/+1
| | | | | | | to avoid an error when directly doing ninja check-polly after cmake 'Could not find llc in .../ninja/bin'. llvm-svn: 203696
* R600: Fix trunc store from i64 to i1Matt Arsenault2014-03-122-0/+36
| | | | llvm-svn: 203695
OpenPOWER on IntegriCloud