summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [clang-tidy] Cleaning namespaces to be more consistant across checkers.Etienne Bergeron2016-05-0257-52/+137
| | | | | | | | | | | | | | Summary: The goal of the patch is to bring checkers in their appropriate namespace. This path doesn't change any behavior. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19811 llvm-svn: 268264
* I forgot to check in the test case for the changes I made to synthetic ↵Enrico Granata2016-05-024-0/+127
| | | | | | children yesterday. Do so now llvm-svn: 268263
* [include-fixer] Fix Clang-tidy modernize-use-override and some Include What ↵Eugene Zelenko2016-05-023-7/+33
| | | | | | | | You Use warnings. Differential revision: http://reviews.llvm.org/D19755 llvm-svn: 268262
* Expand aggregate arguments more often on 32-bit WindowsReid Kleckner2016-05-026-98/+125
| | | | | | | | | | | | | | | | | | | | Before this change, we would pass all non-HFA record arguments on Windows with byval. Byval often blocks optimizations and results in bad code generation. Windows now uses the existing workaround that other x86_32 platforms use. I also expanded the workaround to handle C++ records with constructors on Windows. On non-Windows platforms, we have to keep generating the same LLVM IR prototypes if we want our bitcode to be ABI compatible. Otherwise we will encounter mismatch issues like PR21573. Essentially fixes PR27522 in Clang instead of LLVM. Reviewers: hans Differential Revision: http://reviews.llvm.org/D19756 llvm-svn: 268261
* AMDGPU/SI: Use the hazard recognizer to break SMEM soft clausesTom Stellard2016-05-026-43/+109
| | | | | | | | | | | | | | | Summary: Add support for detecting hazards in SMEM soft clauses, so that we only break the clauses when necessary, either by adding s_nop or re-ordering other alu instructions. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18870 llvm-svn: 268260
* AMDGPU: llvm.SI.fs.constant is a source of divergenceNicolai Haehnle2016-05-022-0/+23
| | | | | | | | | | | | | | | | Summary: This intrinsic is used to get flat-shaded fragment shader inputs. Those are uniform across a primitive, but a fragment shader wave may process pixels from multiple primitives (as indicated by the prim_mask), and so that's where divergence can arise. Reviewers: arsenm, tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D19747 llvm-svn: 268259
* Quote arguments for --reproduce.Rui Ueyama2016-05-022-2/+7
| | | | llvm-svn: 268258
* ScheduleDAGInstrs.cpp: Don't peel the iterator when it points the end. This ↵NAKAMURA Takumi2016-05-021-1/+1
| | | | | | will fix the crash in r268143. llvm-svn: 268257
* [WebAssembly] Rename memory_size intrinsic to current_memoryDerek Schuff2016-05-023-7/+7
| | | | | | This follows the recent change in the wasm spec. llvm-svn: 268256
* [WebAssembly] Rename memory_size intrinsic to current_memoryDerek Schuff2016-05-024-21/+21
| | | | | | This follows the recent renaming in the wasm spec. llvm-svn: 268255
* [SimplifyCFG] Extend TryToSimplifyUncondBranchFromEmptyBlock for empty block ↵Hans Wennborg2016-05-025-59/+418
| | | | | | | | | | | | | | | | | | including lifetime intrinsics Make it possible that TryToSimplifyUncondBranchFromEmptyBlock merges empty basic block including lifetime intrinsics as well as phi nodes and unconditional branch into its successor or predecessor(s). If successor of empty block has single predecessor, all contents including lifetime intrinsics are sinked into the successor. Otherwise, they are hoisted into its predecessor(s) and then merged into the predecessor(s). Patch by Josh Yoon <josh.yoon@samsung.com>! Differential Revision: http://reviews.llvm.org/D19257 llvm-svn: 268254
* [clang-tidy] Add modernize-make-shared checkPiotr Padlewski2016-05-0212-139/+524
| | | | | | | | | Because modernize-make-shared do almost the same job as modernize-make-unique, I refactored common code to MakeSmartPtrCheck. http://reviews.llvm.org/D19183 llvm-svn: 268253
* Move createReversePostOrderFunctionAttrsPass right after the inliner is doneMehdi Amini2016-05-022-8/+11
| | | | | | | | | | This is where it was originally, until LoopVersioningLICM was inserted before in r259986, I don't believe it was on purpose. Differential Revision: http://reviews.llvm.org/D19809 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268252
* [LLE] Fix typo from r263058Adam Nemet2016-05-021-1/+1
| | | | | | | | This was meant to check unit stride for both the load and the store. Thanks to Roman Shirokiy for noticing this. llvm-svn: 268251
* Add llvm-pdbdump to the tool substitutions list in lit. NFC.Pete Cooper2016-05-021-0/+1
| | | | | | | | | This adds llvm-pdbdump to the list of tools which get printed with the full path in verbose mode. This makes it easier to take the whole run line from verbose output and run it again without prepending with the builds bin directory. llvm-svn: 268250
* Fixed signed/unsigned comparison warning.Simon Pilgrim2016-05-021-1/+1
| | | | llvm-svn: 268249
* Remove extra whitespace. NFC.Chad Rosier2016-05-021-4/+4
| | | | llvm-svn: 268248
* AMDGPU/SI: Use hazard recognizer to detect DPP hazardsTom Stellard2016-05-024-57/+33
| | | | | | | | | | Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18603 llvm-svn: 268247
* remove blank linesSanjay Patel2016-05-021-8/+1
| | | | llvm-svn: 268246
* [InstCombine] regenerate checksSanjay Patel2016-05-021-342/+493
| | | | llvm-svn: 268245
* [InstCombine] regenerate checksSanjay Patel2016-05-021-81/+73
| | | | llvm-svn: 268244
* [sanitizer] Fix a crash in SizeClassAllocator32 with an out-of-range pointerKuba Brecka2016-05-022-0/+18
| | | | | | | | This happens on a 64-bit platform that uses SizeClassAllocator32 (e.g. ASan on AArch64). When querying a large invalid pointer, `__sanitizer_get_allocated_size(0xdeadbeefdeadbeef)`, an assertion will fail. This patch changes PointerIsMine to return false if the pointer is outside of [kSpaceBeg, kSpaceBeg + kSpaceSize). Differential Revision: http://reviews.llvm.org/D15008 llvm-svn: 268243
* [InstCombine] regenerate checksSanjay Patel2016-05-021-69/+103
| | | | llvm-svn: 268242
* [InstCombine] regenerate checksSanjay Patel2016-05-021-131/+183
| | | | llvm-svn: 268241
* Force llvm-ar to use the gnu format.Rafael Espindola2016-05-021-1/+1
| | | | | | Should fix the bots. Otherwise we try to create a thin bsd anchive. llvm-svn: 268240
* [InstCombine] regenerate checksSanjay Patel2016-05-021-33/+43
| | | | llvm-svn: 268239
* [sanitizer] Don't reuse the main thread in ThreadRegistryKuba Brecka2016-05-021-0/+2
| | | | | | | | There is a hard-to-reproduce crash happening on OS X that involves terminating the main thread (dispatch_main does that, see discussion at http://reviews.llvm.org/D18496) and later reusing the main thread's ThreadContext. This patch disables reuse of the main thread. I believe this problem exists only on OS X, because on other systems the main thread cannot be terminated without exiting the process. Differential Revision: http://reviews.llvm.org/D19722 llvm-svn: 268238
* [X86][SSE] Dropped X86ISD::FGETSIGNx86 and use MOVMSK instead for FGETSIGN ↵Simon Pilgrim2016-05-024-37/+12
| | | | | | | | lowering movmsk.ll tests are unchanged. llvm-svn: 268237
* Cleanup comments. NFC.Chad Rosier2016-05-022-3/+4
| | | | llvm-svn: 268236
* Cleanup comments. NFC.Chad Rosier2016-05-021-4/+3
| | | | llvm-svn: 268235
* Silence unused variable warnings; NFC.Aaron Ballman2016-05-021-9/+4
| | | | llvm-svn: 268234
* Cleanup comments. NFC.Chad Rosier2016-05-021-7/+9
| | | | llvm-svn: 268233
* [InstCombine] regenerate checksSanjay Patel2016-05-021-500/+674
| | | | llvm-svn: 268232
* Don't include the output dir in the response file.Rafael Espindola2016-05-022-2/+3
| | | | | | | | With this it is possible to use chroot/fakechroot to have a completely reproducible link even when thin archives or linker scripts have absolute paths. llvm-svn: 268231
* [CLANG][AVX512][BUILTIN]movap{d|s}{128|256|512}Michael Zuckerman2016-05-025-0/+182
| | | | | | Differential Revision: http://reviews.llvm.org/D17818 llvm-svn: 268230
* Copy thin archive members with --reproduce.Rafael Espindola2016-05-022-0/+17
| | | | llvm-svn: 268229
* [ELF] - keep alive all non-text sections referenced by .eh_frameGeorge Rimar2016-05-022-15/+56
| | | | | | | | | | | | | | | Patch implements one of suggestions from Rafael Ávila de Espíndola, to fix segfault after section that contains personality being garbage collected. Suggestion was just to keep alive all non executable sections referenced by .eh_frame. This fixes PR27529. Differential revision: http://reviews.llvm.org/D19656 llvm-svn: 268228
* Enable the X86 call frame optimization for the 64-bit targets that allow it.David L Kreitzer2016-05-023-16/+229
| | | | | | | | Fixes PR27241. Differential Revision: http://reviews.llvm.org/D19688 llvm-svn: 268227
* Expose a getFullName for thin archive members.Rafael Espindola2016-05-022-10/+19
| | | | | | It will be used in lld. llvm-svn: 268226
* Don't quote "--hash-style gnu".Rafael Espindola2016-05-022-3/+4
| | | | | | Otherwise lld fails to use the response file. llvm-svn: 268225
* Typo: ToComplex -> TooComplex. NFC.Michael Kruse2016-05-021-4/+4
| | | | llvm-svn: 268224
* Rename Conjuncts -> Disjunctions. NFC.Michael Kruse2016-05-023-13/+14
| | | | | | | | The check for complexity compares the number of polyhedra in a set, which are combined by disjunctions (union, "OR"), not conjunctions (intersection, "AND"). llvm-svn: 268223
* [ScheduleOptimizer] Add -polly-opt-outer-coincidence option.Michael Kruse2016-05-022-0/+89
| | | | | | | | | | | | Add a command line switch to set the isl_options_set_schedule_outer_coincidence option. ISL then tries to build schedules where the outer member of a band satisfies the coincidence constraints. In practice this allows loop skewing for more parallelism in inner loops. llvm-svn: 268222
* [WWW] Mark task as done and me as owner of some taskJohannes Doerfert2016-05-021-6/+6
| | | | llvm-svn: 268221
* Typo: isToComplex -> isTooComplex. NFC.Michael Kruse2016-05-021-5/+5
| | | | llvm-svn: 268220
* [SystemZ] Temporarily disable codegen test int-add-12.ll.Jonas Paulsson2016-05-021-1/+1
| | | | | | This checks for AGSI transformation, which is temporarily disabled. llvm-svn: 268219
* Replace non-ascii character.Simon Atanasyan2016-05-021-1/+1
| | | | llvm-svn: 268218
* [Clang][AVX512][BuiltIn] Adding intrinsics for cvtps2pd instruction setMichael Zuckerman2016-05-023-0/+85
| | | | | | Differential Revision: http://reviews.llvm.org/D19774 llvm-svn: 268217
* [SystemZ] Fix in restoreCalleeSavedRegisters()Jonas Paulsson2016-05-021-1/+2
| | | | | | | | Only add operands for GRs to the LMG. Reviewed by Ulrich Weigand. llvm-svn: 268216
* [SystemZ] Mark CC defs as dead whenever possible.Jonas Paulsson2016-05-023-5/+25
| | | | | | | | | | | | | | Marking implicit CC defs as dead everywhere except when CC is actually defined and used explicitly, is important since the post-ra scheduler will otherwise insert edges between instructions unnecessarily. Also temporarily disable LA(Y)-> AGSI optimization in foldMemoryOperandImpl(), since this inroduces a def of the CC reg, which is illegal unless it is known to be dead. Reviewed by Ulrich Weigand. llvm-svn: 268215
OpenPOWER on IntegriCloud