summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [TableGen] Use make_unique. NFC.Craig Topper2015-09-061-3/+3
| | | | llvm-svn: 246936
* [bindings] Update Go bindings to DIBuilderAndrew Wilkins2015-09-063-22/+59
| | | | | | | | | | | | | | | Summary: Update the Go bindings to DIBuilder to match the split of creating local variables into auto and parameter variables. Reviewers: pcc Subscribers: llvm-commits, axw Differential Revision: http://reviews.llvm.org/D11864 llvm-svn: 246935
* COFF: Split doICF(). No functionality change.Rui Ueyama2015-09-051-13/+19
| | | | llvm-svn: 246934
* [InstCombine] Don't assume m_Mul gives back an InstructionDavid Majnemer2015-09-052-1/+12
| | | | | | This fixes PR24713. llvm-svn: 246933
* Fix Makefile buildKeno Fischer2015-09-056-0/+64
| | | | llvm-svn: 246932
* Index: expose visibility attributeSaleem Abdulrasool2015-09-055-2/+34
| | | | | | | Expose the previously unexposed visibility attribute via the python and C bindings. llvm-svn: 246931
* Added arch extensions and default target features in TargetParser.Alexandros Lamprineas2015-09-053-128/+205
| | | | | Differential: http://reviews.llvm.org/D11590 llvm-svn: 246930
* Add some more documentation and structure to the collection of subtree ↵Tobias Grosser2015-09-051-24/+63
| | | | | | | | | references Some of the structures are renamed, subfunction introduced to clarify the individual steps and comments are added describing their functionality. llvm-svn: 246929
* IslNodeBuilder: Only obtain the isl_ast_build, when neededTobias Grosser2015-09-052-6/+9
| | | | | | | | | In the common case, the access functions are not modified, hence there is no need to obtain the IslAstBuild context at all. This should not only be minimally faster, but this also allows the IslNodeBuilder to work on asts that are not annotated with isl_ast_builds as long as the memory accesses are not modified. llvm-svn: 246928
* [X86] Updated vector lzcnt tests. Added missing vec512 tests.Simon Pilgrim2015-09-053-118/+1526
| | | | llvm-svn: 246927
* RegionGenerator: Do not modify GlobalMapsTobias Grosser2015-09-051-5/+0
| | | | | | | | | | | | By inspection the update of the GlobalMaps in the RegionGenerator seems unneed, and is removed as also no test cases fail when dropping this. Johannes Doerfert confirmed that this is indeed save: "I think that code was needed when we did not use the scalar codegen by default. Now everything defined in a non-affine region should be communicated via memory and reloaded in the user block. Hence, we should be good removing this code." llvm-svn: 246926
* Add forgotten .jscop fileTobias Grosser2015-09-051-0/+21
| | | | llvm-svn: 246925
* OpenMP: Name the values passed to the subfunciton according to the original ↵Tobias Grosser2015-09-053-18/+18
| | | | | | llvm::Values llvm-svn: 246924
* OpenMP codegen: support generation of multi-dimensional access functionsTobias Grosser2015-09-054-5/+92
| | | | | | | | | | When computing the index expressions for new, multi-dimensional memory accesses these new index expressions may reference original llvm::Values that are not transfered into the OpenMP subfunction. Using GlobalMap we now replace references to such values with the rewritten values that have e.g. been passed to the OpenMP subfunction. llvm-svn: 246923
* [X86] Updated vector tzcnt tests. Added vec512 tests.Simon Pilgrim2015-09-053-12/+975
| | | | llvm-svn: 246922
* [X86] Updated vector popcnt tests. Added vec512 tests.Simon Pilgrim2015-09-053-44/+200
| | | | llvm-svn: 246921
* BlockGenerator: Make GlobalMap a member variableTobias Grosser2015-09-054-239/+131
| | | | | | | | | | | | | | | | | | | The GlobalMap variable used in BlockGenerator should always reference the same list througout the entire code generation, hence we can make it a member variable to avoid passing it around through every function call. History: Before we switched to the SCEV based code generation the GlobalMap also contained a mapping form old to new induction variables, hence it was different for each ScopStmt, which is why we passed it as function argument to copyStmt. The new SCEV based code generation now uses a separate mapping called LTS -> LoopToSCEV that maps each original loop to a new loop iteration variable provided as a SCEVExpr. The GlobalMap is currently mostly used for OpenMP code generation, where references to parameters in the original function need to be rewritten to the locations of these variables after they have been passed to the subfunction. Suggested-by: Johannes Doerfert <doerfert@cs.uni-saarland.de> llvm-svn: 246920
* [mips][microMIPS] Implement ADD.fmt, SUB.fmt, MOV.fmt, MUL.fmt, DIV.fmt, ↵Zoran Jovanovic2015-09-057-4/+255
| | | | | | | | MADDF.fmt, MSUBF.fmt and NEG.fmt instructions Differential Revision: http://reviews.llvm.org/D11978 llvm-svn: 246919
* [cmake] rework LLVM_LINK_LLVM_DYLIB option handlingAndrew Wilkins2015-09-055-61/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This diff attempts to address the concerns raised in http://reviews.llvm.org/D12488. We introduce a new USE_SHARED option to llvm_config, which, if set, causes the target to be linked against libLLVM. add_llvm_utility now uniformly disables linking against libLLVM. These utilities are not intended for distribution, and this keeps the option handling more centralised. llvm-shlib is now processes before any other "tools" subdirectories, ensuring the libLLVM target is defined before its dependents. One main difference from what was requested: llvm_config does not prune LLVM_DYLIB_COMPONENTS from the components passed into explicit_llvm_config. This is because the "all" component does something special, adding additional libraries (namely libLTO). Adding the component libraries after libLLVM should not be a problem, as symbols will be resolved in libLLVM first. Finally, I'm not really happy with the DISABLE_LLVM_LINK_LLVM option, but I'm not sure of a better way to get the following: - link all tools and shared libraries to libLLVM if LLVM_LINK_LLVM_DYLIB is set - some way of explicitly *not* doing so for utilities and libLLVM itself Suggestions for improvement here are particularly welcome. Reviewers: beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12590 llvm-svn: 246918
* Allow the import of multi-dimensional access functionsTobias Grosser2015-09-054-6/+30
| | | | | | | | | | | Originally, we disallowed the import of multi-dimensional access functions due to our code generation not supporting the generation of new address expressions for multi-dimensional memory accesses. When building our run-time alias check infrastructure we added code generation support for multi-dimensional address calculations. Hence, we can now savely allow the import of new multi-dimensional access functions. llvm-svn: 246917
* Use uppercase variable names [NFC]Tobias Grosser2015-09-052-9/+9
| | | | llvm-svn: 246916
* Try and fix links again. Seems to be a sphinx version issue.Eric Fiselier2015-09-051-12/+12
| | | | llvm-svn: 246915
* Try and fix broken bugzilla linkEric Fiselier2015-09-051-1/+1
| | | | llvm-svn: 246914
* Cleanup new documentation index and transfer more information from ↵Eric Fiselier2015-09-051-37/+53
| | | | | | www/index.html llvm-svn: 246913
* Remove test commit.Tanya Lattner2015-09-051-1/+1
| | | | llvm-svn: 246912
* Test temporary commit. Tanya Lattner2015-09-051-1/+1
| | | | llvm-svn: 246911
* Test commit for builderEric Fiselier2015-09-052-0/+4
| | | | llvm-svn: 246910
* Add temporary Makefile.sphinx build file to get libcxx.llvm.org/docs goingEric Fiselier2015-09-051-0/+34
| | | | llvm-svn: 246909
* Fix build warning.Craig Topper2015-09-051-1/+1
| | | | llvm-svn: 246908
* Try building docs again.Eric Fiselier2015-09-051-1/+0
| | | | llvm-svn: 246906
* WinCOFFObjectWriter.cpp: Roll back TimeDateStamp along ENABLE_TIMESTAMPS.NAKAMURA Takumi2015-09-051-0/+5
| | | | | | | We want a deterministic output. GNU AS leaves it zero. FIXME: It may be optional by its user, like llc and clang. llvm-svn: 246905
* [MC] Convert other MachO tests from macho-dump to llvm-readobj.Davide Italiano2015-09-0523-2603/+3261
| | | | | | | | | | | | | | | This commit accomplish two goals: 1) it's a step forward to deprecate macho-dump, now less than 40 tests rely on it. 2) It tests all the MachO specific features introduced in llvm-readobj in the following commits: r246789, r246665, r246474. While the conversion is mostly mechanical (I double-checked all the tests output one by one, but still), a post-commit review is greatly appreciated. llvm-svn: 246904
* Fix build warningAndrew Kaylor2015-09-051-2/+2
| | | | llvm-svn: 246903
* [elf2] Add 32S and 64 relocations (needed for musl).Michael J. Spencer2015-09-052-0/+35
| | | | | | It wasn't obvious what the assembly was to generate these relocations, so I did the test with yaml. llvm-svn: 246902
* [elf2] Correctly handle sections with an alignment of 0. Spec says to treat ↵Michael J. Spencer2015-09-053-2/+29
| | | | | | it as an alignment of 1. llvm-svn: 246901
* [PowerPC] Fix and(or(x, c1), c2) -> rlwimi generationHal Finkel2015-09-052-3/+42
| | | | | | | | | | | | | | | | PPCISelDAGToDAG has a transformation that generates a rlwimi instruction from an input pattern that looks like this: and(or(x, c1), c2) but the associated logic does not work if there are bits that are 1 in c1 but 0 in c2 (these are normally canonicalized away, but that can't happen if the 'or' has other users. Make sure we abort the transformation if such bits are discovered. Fixes PR24704. llvm-svn: 246900
* Fix build warningAndrew Kaylor2015-09-041-4/+0
| | | | llvm-svn: 246899
* Fix passed env var name in lit for Android tests.Evgeniy Stepanov2015-09-041-1/+1
| | | | | | | | The variable is actually called ANDROID_SERIAL. This was not exercised on the bots until today. Should fix the sanitizer-x86_64-linux failures. llvm-svn: 246898
* Fixing bad test syntax.Andrew Kaylor2015-09-041-1/+1
| | | | llvm-svn: 246897
* [WinEH] Teach SimplfyCFG to eliminate empty cleanup pads.Andrew Kaylor2015-09-042-20/+687
| | | | | | Differential Revision: http://reviews.llvm.org/D12434 llvm-svn: 246896
* Test commit for sphinx docs try2Eric Fiselier2015-09-041-0/+1
| | | | llvm-svn: 246895
* [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAllSiva Chandra2015-09-041-1/+1
| | | | | | | | | | Reviewers: chaoren Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12653 llvm-svn: 246894
* Test commit to see if libcxx.llvm.org/docs buildsEric Fiselier2015-09-041-1/+1
| | | | llvm-svn: 246893
* [elf2] Fix include order.Michael J. Spencer2015-09-041-2/+1
| | | | llvm-svn: 246892
* [asan] Detect asanwrapper binary in android tests.Evgeniy Stepanov2015-09-041-2/+5
| | | | | | | | Tests need to be run either via asanwrapper or asanwrapper64 depending in the binary bitness. This matters when testing on an aarch64 device. llvm-svn: 246891
* Fix a bug in __builtin_object_size cast removalGeorge Burgess IV2015-09-042-3/+40
| | | | | | | | | | | Apparently there are many cast kinds that may cause implicit pointer arithmetic to happen. In light of this, the cast ignoring logic introduced in r246877 has been changed to only ignore a small set of cast kinds, and a test for this behavior has been added. Thanks to Richard for catching this before it became a bug report. :) llvm-svn: 246890
* Relax partial-init test case for ARMReid Kleckner2015-09-041-1/+1
| | | | llvm-svn: 246889
* [libFuzzer] more accurate logic for traces, 80-char fixKostya Serebryany2015-09-041-6/+5
| | | | llvm-svn: 246888
* Check for null compile unit so we don't crash.Greg Clayton2015-09-041-0/+3
| | | | llvm-svn: 246887
* [elf2] Add basic archive file support.Michael J. Spencer2015-09-0410-39/+216
| | | | llvm-svn: 246886
OpenPOWER on IntegriCloud