summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Simplify] Remove partial write accesses with empty domain.Michael Kruse2017-07-224-2/+126
| | | | | | | | | | | If the access relation's domain is empty, the access will never be executed. We can just remove it. We only remove write accesses. Partial read accesses are not yet supported and instructions in the statement might require the llvm::Value holding the read's result to be defined. llvm-svn: 308830
* [ScopInfo] Adapt indentation of instruction list printing.Michael Kruse2017-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | Change the indention of the last brace to align with the opening line. Before: Instructions { %val = fadd double %arg, 2.100000e+01 store double %val, double* %A } After: Instructions { %val = fadd double %arg, 2.100000e+01 store double %val, double* %A } llvm-svn: 308828
* Fix grammar-o in comment.Nico Weber2017-07-221-2/+2
| | | | llvm-svn: 308827
* [ForwardOpTree] Support hoisted invariant loads.Michael Kruse2017-07-222-5/+65
| | | | | | | | Hoisted loads can be trivially supported because there are no MemoryAccess to be modified, the loaded value is just available at code generation. llvm-svn: 308826
* [ForwardOpTree] Introduce the -polly-optree pass.Michael Kruse2017-07-2212-0/+769
| | | | | | | | | | | | | | | | | | This pass 'forwards' operand trees into statements that use them in order to avoid scalar dependencies. This minimal implementation handles only the case of speculatable instructions. We will successively add support for: - Hoisted loads - Read-only values - Synthesizable values - Loads - PHIs - Forwarding only parts of the tree Differential Revision: https://reviews.llvm.org/D35754 llvm-svn: 308825
* [Bash-autocompletion] Fixed typo and add '-' after -WnoYuka Takahashi2017-07-222-3/+3
| | | | | | | | Summary: -Wno-<warning> was autocompleted as -Wno<warning>, so fixed this typo. Differential Revision: https://reviews.llvm.org/D35762 llvm-svn: 308824
* [NFC, documentation] Prefer the term expansion instead of macro instantiation Faisal Vali2017-07-221-2/+2
| | | | | | | | | ... in the few remaining places where this was not corrected. llvm-svn: 308823
* Revert "Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things ↵Petr Hosek2017-07-2211-824/+0
| | | | | | | | started"" This reverts commit 2b52298eb28ba4d3eca113353a348c02a6ef1f93. llvm-svn: 308822
* Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started"Petr Hosek2017-07-2211-0/+824
| | | | | | | | | | | | | | | As discussed on llvm-dev I've implemented the first basic steps towards llvm-objcopy/llvm-objtool (name pending). This change adds the ability to copy (without modification) 64-bit little endian ELF executables that have SHT_PROGBITS, SHT_NOBITS, SHT_NULL and SHT_STRTAB sections. Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D33964 llvm-svn: 308821
* [sanitizer_common] Move filesystem-related code out of sanitizer_common.ccVitaly Buka2017-07-2224-223/+305
| | | | | | | | | | | | | | | | | | | | | | Summary: This is a pure refactoring change. It just moves code that is related to filesystem operations from sanitizer_common.{cc,h} to sanitizer_file.{cc,h}. This makes it cleaner to disable the filesystem-related code for a new port that doesn't want it. Submitted on behalf of Roland McGrath. Reviewers: kcc, eugenis, alekseyshl Reviewed By: alekseyshl Subscribers: vitalybuka, llvm-commits, kubamracek, mgorny, phosek Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D35591 llvm-svn: 308819
* [X86] Add nopq instruction which is a rex encoded version of nopl for gas ↵Craig Topper2017-07-224-0/+19
| | | | | | compatibility. llvm-svn: 308818
* [X86] Add register form of NOPL and NOPW for assembler/disassembler.Craig Topper2017-07-223-0/+19
| | | | | | Fixes PR32805. llvm-svn: 308817
* AMDGPU: Remove leftover td fileMatt Arsenault2017-07-222-16/+0
| | | | | | | All of the instructions were moved out of this a while ago, so it's just a useless comment now. llvm-svn: 308815
* Commit missing/empty test file from r308789David Blaikie2017-07-221-0/+0
| | | | llvm-svn: 308814
* RA: Remove another assert on empty intervalsMatt Arsenault2017-07-222-2/+36
| | | | | | | | | This case is similar to the one fixed in r308808, except when rematerializing. Fixes bug 33884. llvm-svn: 308813
* Handle a section being more aligned than a page size.Rafael Espindola2017-07-222-1/+12
| | | | llvm-svn: 308812
* [libFuzzer] reimplement experimental_len_control=1: bump the temporary ↵Kostya Serebryany2017-07-224-22/+34
| | | | | | max_len every time we failed to find new coverage during the last 1000 runs and 1 second. Also fix FileToVector to not load unfinished files llvm-svn: 308811
* Don't crash on an empty section with an ALIGN.Rafael Espindola2017-07-222-1/+7
| | | | llvm-svn: 308809
* RA: Remove assert on empty live intervalsMatt Arsenault2017-07-212-1/+40
| | | | | | | | | This is possible if there is an undef use when splitting the vreg during spilling. Fixes bug 33620. llvm-svn: 308808
* clangDaemon: Update libdeps in r308738.NAKAMURA Takumi2017-07-211-0/+1
| | | | llvm-svn: 308807
* Revert "[LLVM][llvm-objcopy] Added basic plumbing to get things started"Petr Hosek2017-07-2110-804/+0
| | | | | | This reverts commit 2f423248e140b94b8377660d4d2fe9364f30febe. llvm-svn: 308806
* Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started"Petr Hosek2017-07-2110-0/+804
| | | | | | | | | | | | | | | As discussed on llvm-dev I've implemented the first basic steps towards llvm-objcopy/llvm-objtool (name pending). This change adds the ability to copy (without modification) 64-bit little endian ELF executables that have SHT_PROGBITS, SHT_NOBITS, SHT_NULL and SHT_STRTAB sections. Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D33964 llvm-svn: 308803
* Move ScopArrayInfo to isl++Tobias Grosser2017-07-216-56/+51
| | | | | | This moves the full ScopArrayInfo class to isl++ llvm-svn: 308801
* [index] Set SymbolSubKind::Accessor[GS]etter on class methodsBen Langmuir2017-07-212-15/+21
| | | | | | | | | We have the same relation between class properties and getter/setters that we have for instance properties, so set the same symbol sub-kind. rdar://problem/32376404 llvm-svn: 308800
* Remove Bitrig: LLVM ChangesErich Keane2017-07-217-25/+8
| | | | | | | | Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned. Differential Revision: https://reviews.llvm.org/D35707 llvm-svn: 308799
* Remove Bitrig: CompilerRT ChangesErich Keane2017-07-213-6/+6
| | | | | | | | Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned. Differential Revision: https://reviews.llvm.org/D35709 llvm-svn: 308798
* Remove Bitrig: Clang ChangesErich Keane2017-07-2117-393/+3
| | | | | | | | Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned. Differential Revision: https://reviews.llvm.org/D35708 llvm-svn: 308797
* Break up Targets.cpp into a header/impl pair per target type[NFCI]Erich Keane2017-07-2147-9599/+10925
| | | | | | | | | | | | | | | | Targets.cpp is getting unwieldy, and even minor changes cause the entire thing to cause recompilation for everyone. This patch bites the bullet and breaks it up into a number of files. I tended to keep function definitions in the class declaration unless it caused additional includes to be necessary. In those cases, I pulled it over into the .cpp file. Content is copy/paste for the most part, besides includes/format/etc. Differential Revision: https://reviews.llvm.org/D35701 llvm-svn: 308791
* [ProfData] Detect if zlib is availableDavid Blaikie2017-07-214-1/+22
| | | | | | | | | | | | As discussed on [1], if the profile is compressed and llvm-profdata is not built with zlib support, the error message is not informative. Give a better error message if zlib is not available. [1] http://lists.llvm.org/pipermail/llvm-dev/2017-July/115571.html Reviewers: davidxl, dblaikie Differential Revision: https://reviews.llvm.org/D35586 llvm-svn: 308789
* [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; ↵Eugene Zelenko2017-07-2110-176/+299
| | | | | | other minor fixes (NFC). llvm-svn: 308787
* [PGOInstr] Add a debug printXinliang David Li2017-07-211-0/+6
| | | | llvm-svn: 308785
* X86InterleaveAccess: A fix for bug33826Farhana Aleen2017-07-212-13/+35
| | | | | | | | Reviewers: DavidKreitzer Differential Revision: https://reviews.llvm.org/D35638 llvm-svn: 308784
* Inline variable into assert to fix unused warning.Richard Trieu2017-07-211-4/+2
| | | | llvm-svn: 308783
* [Hexagon] Attempt to fix selfhost botsKrzysztof Parzyszek2017-07-211-1/+1
| | | | | | | The codegen testcase was checking for specific value names. Make it ignore the names instead as they are irrelevant. llvm-svn: 308782
* AMDGPU: Implement memory modelKonstantin Zhuravlyov2017-07-2121-40/+2454
| | | | llvm-svn: 308781
* [PPC] Add Defs = [CARRY] to MIR SRADI_32Guozhi Wei2017-07-211-1/+1
| | | | | | | | | | MIR SRADI uses instruction template XSForm_1rc which declares Defs = [CARRY]. But MIR SRADI_32 uses instruction template XSForm_1, and it doesn't declare such implicit definition. With patch D33720 it causes wrong code generation for perl. This patch adds the implicit definition. Differential Revision: https://reviews.llvm.org/D35699 llvm-svn: 308780
* AMDGPU: Introduce maybeAtomic instruction flagKonstantin Zhuravlyov2017-07-215-3/+17
| | | | | | Testing is in the follow up change llvm-svn: 308779
* Fix tblgen errorRichard Trieu2017-07-211-0/+1
| | | | | | Add Heading string to attribute documentation. llvm-svn: 308777
* Added a missing "break;" after seeing a clang warning about potential fall ↵Greg Clayton2017-07-211-0/+1
| | | | | | through annotation. llvm-svn: 308776
* Fix a test breakage caused by r308752.Rui Ueyama2017-07-211-4/+4
| | | | llvm-svn: 308775
* AMDGPU: Preserve undef flag in eliminateFrameIndexMatt Arsenault2017-07-211-10/+9
| | | | | | | | | | Fixes verifier errors in some call tests. Not sure why we haven't run into this before. Test split into separate patch for once call support is committed. llvm-svn: 308774
* [OPENMP] Fix build problem, NFC.Alexey Bataev2017-07-211-5/+3
| | | | llvm-svn: 308773
* [DAGCombiner] Update comment. NFCXin Tong2017-07-211-1/+1
| | | | llvm-svn: 308772
* [OPENMP] Add ast-print tests for in_reduction clause, NFC.Alexey Bataev2017-07-212-8/+16
| | | | llvm-svn: 308771
* AMDGPU: Partially fix improper reliance on memoperandsMatt Arsenault2017-07-211-17/+26
| | | | | | | There are 2 more places doing this, but I'm not sure what they are doing and don't make any sense to me llvm-svn: 308770
* Complex Long Double classification In RegCall calling conventionErich Keane2017-07-212-15/+38
| | | | | | | | | | | | | This change is part of the RegCall calling convention support for LLVM. Existing RegCall implementation was extended to include correct handling of Complex Long Double type. Complex long double types should be returned/passed in memory and not register stack. This patch implements this behavior. Patch by: eandrews Differential Revision: https://reviews.llvm.org/D35259 llvm-svn: 308769
* [OPENMP] Initial support for 'in_reduction' clause.Alexey Bataev2017-07-2120-22/+1775
| | | | | | | Parsing/sema analysis for 'in_reduction' clause for task-based directives. llvm-svn: 308768
* AMDGPU: Don't track lgkmcnt for global_/scratch_ instructionsMatt Arsenault2017-07-213-9/+17
| | | | llvm-svn: 308766
* Fix DebugInfo/PDB build by adding missing changesReid Kleckner2017-07-214-3/+5
| | | | llvm-svn: 308765
* [PDB] Dump extra info about the publics streamReid Kleckner2017-07-217-6/+58
| | | | | | | | | | This includes the hash table, the address map, and the thunk table and section offset table. The last two are only used for incremental linking, which LLD doesn't support, so they are less interesting. The hash table is particularly important to get right, since this is the one of the streams that debuggers use to translate addresses to symbols. llvm-svn: 308764
OpenPOWER on IntegriCloud