r271176 - [X86] Simplify alignr builtin support by recognizing that NumLaneElts is always 16. NFC

2016-05-29 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun May 29 02:06:02 2016 New Revision: 271176 URL: http://llvm.org/viewvc/llvm-project?rev=271176&view=rev Log: [X86] Simplify alignr builtin support by recognizing that NumLaneElts is always 16. NFC Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp Modified: cfe/trunk/lib

[PATCH] D20781: [libcxx] Add use-libunwind x86_64 builders to buildbot

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath created this revision. rmaprath added reviewers: EricWF, gribozavr, gkistanova, rengolin. rmaprath added a subscriber: cfe-commits. Herald added a subscriber: aemerson. Currently, only the ARM libcxx builder seems to test libunwind (`-DLIBCXXABI_USE_LLVM_UNWINDER=ON` cmake option). This

Re: [PATCH] D20781: [libcxx] Add use-libunwind x86_64 builders to buildbot

2016-05-29 Thread Dmitri Gribenko via cfe-commits
gribozavr added a comment. LGTM. http://reviews.llvm.org/D20781 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20781: [libcxx] Add use-libunwind x86_64 builders to buildbot

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath closed this revision. rmaprath added a comment. Thanks! Committed as r271179. Will be effective from the next buildmaster restart from @gkistanova. / Asiri http://reviews.llvm.org/D20781 ___ cfe-commits mailing list cfe-commits@lists.llv

r271182 - Avoid unnecessary std::string copies. NFC.

2016-05-29 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Sun May 29 06:04:56 2016 New Revision: 271182 URL: http://llvm.org/viewvc/llvm-project?rev=271182&view=rev Log: Avoid unnecessary std::string copies. NFC. Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp cfe/trunk/lib/Tooling/Refactoring.cpp Modified: cfe/trunk/l

Re: [PATCH] D20737: clang-format: [JS] fix async parsing.

2016-05-29 Thread Daniel Jasper via cfe-commits
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Looks good. http://reviews.llvm.org/D20737 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listin

Re: [PATCH] D20632: clang-format: [JS] Support shebang lines on the very first line.

2016-05-29 Thread Daniel Jasper via cfe-commits
djasper accepted this revision. djasper added a comment. Looks good. http://reviews.llvm.org/D20632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20734: [clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().

2016-05-29 Thread Daniel Jasper via cfe-commits
djasper added inline comments. Comment at: lib/Format/Format.cpp:1411 @@ +1410,3 @@ +int getIncludePriority(const FormatStyle &Style, + SmallVector &CategoryRegexs, + StringRef IncludeName) { But you should pass it as an

Re: [PATCH] D20737: clang-format: [JS] fix async parsing.

2016-05-29 Thread Martin Probst via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271184: clang-format: [JS] fix async parsing. (authored by mprobst). Changed prior to commit: http://reviews.llvm.org/D20737?vs=58809&id=58915#toc Repository: rL LLVM http://reviews.llvm.org/D20737

r271184 - clang-format: [JS] fix async parsing.

2016-05-29 Thread Martin Probst via cfe-commits
Author: mprobst Date: Sun May 29 09:41:07 2016 New Revision: 271184 URL: http://llvm.org/viewvc/llvm-project?rev=271184&view=rev Log: clang-format: [JS] fix async parsing. Summary: Only treat the sequence `async function` as the start of a function expression, as opposed to every occurrence of th

r271185 - clang-format: [JS] Support shebang lines on the very first line.

2016-05-29 Thread Martin Probst via cfe-commits
Author: mprobst Date: Sun May 29 09:41:36 2016 New Revision: 271185 URL: http://llvm.org/viewvc/llvm-project?rev=271185&view=rev Log: clang-format: [JS] Support shebang lines on the very first line. Summary: Shebang lines (`#!/bin/blah`) can be used in JavaScript scripts to indicate they should b

r271183 - clang-format: [JS] FormatToken.startsSequence/endsSequence.

2016-05-29 Thread Martin Probst via cfe-commits
Author: mprobst Date: Sun May 29 09:41:02 2016 New Revision: 271183 URL: http://llvm.org/viewvc/llvm-project?rev=271183&view=rev Log: clang-format: [JS] FormatToken.startsSequence/endsSequence. Refactors AnnotatedLine.startsWith/endsWith by extracting the core functionality into FormatToken.start

Re: [PATCH] D20632: clang-format: [JS] Support shebang lines on the very first line.

2016-05-29 Thread Martin Probst via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271185: clang-format: [JS] Support shebang lines on the very first line. (authored by mprobst). Changed prior to commit: http://reviews.llvm.org/D20632?vs=58612&id=58916#toc Repository: rL LLVM http

Re: [PATCH] D20388: AMDGPU: Fix supported CL features

2016-05-29 Thread Jan Vesely via cfe-commits
jvesely added inline comments. Comment at: test/Misc/r600.languageOptsOpenCL.cl:4 @@ +3,3 @@ +// RUN: %clang_cc1 -x cl -cl-std=CL %s -verify -triple r600-unknown-unknown -target-cpu cypress +// RUN: %clang_cc1 -x cl -cl-std=CL %s -verify -triple r600-unknown-unknown -target-cpu

r271187 - [X86][SSE] Make unsigned integer vector types generally available

2016-05-29 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sun May 29 13:49:08 2016 New Revision: 271187 URL: http://llvm.org/viewvc/llvm-project?rev=271187&view=rev Log: [X86][SSE] Make unsigned integer vector types generally available As discussed on http://reviews.llvm.org/D20684, move the unsigned integer vector types used for

r271188 - Enable some accidentally dead tests and fix up the bitrot

2016-05-29 Thread David Blaikie via cfe-commits
Author: dblaikie Date: Sun May 29 14:50:23 2016 New Revision: 271188 URL: http://llvm.org/viewvc/llvm-project?rev=271188&view=rev Log: Enable some accidentally dead tests and fix up the bitrot Problem found by Nico, originally committed by me in r213213. The .test prefix wasn't actually being run

Re: r213213 - DebugInfo: Forward HandleTagDeclRequiredDefinition through MultiplexConsumer to fix debug info emission in the presence of plugins.

2016-05-29 Thread David Blaikie via cfe-commits
Thanks for the catch! Fixed in r271188 On Wed, May 25, 2016 at 10:28 AM, Nico Weber wrote: > Zombie review comment: ".test" isn't part of > test/lit.cfg::config.suffixes, so the two .test files added in this change > never run unless you explicitly run them (e.g. with `bin/llvm-lit > ../llvm-rw

[PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Craig Topper via cfe-commits
craig.topper created this revision. craig.topper added reviewers: delena, RKSimon, AsafBadouh, igorb, m_zuckerman. craig.topper added a subscriber: cfe-commits. This will allow us to remove the x86 specific intrinsics from the backend. http://reviews.llvm.org/D20782 Files: lib/CodeGen/CGBuilti

r271191 - clang-format: Fix segfault introduced by allowing wraps after comments.

2016-05-29 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Sun May 29 17:07:22 2016 New Revision: 271191 URL: http://llvm.org/viewvc/llvm-project?rev=271191&view=rev Log: clang-format: Fix segfault introduced by allowing wraps after comments. Modified: cfe/trunk/lib/Format/ContinuationIndenter.cpp cfe/trunk/unittests/Format/

Re: [PATCH] D20168: [CodeGen] Handle structs directly in AMDGPUABIInfo

2016-05-29 Thread Vedran Miletić via cfe-commits
rivanvx updated this revision to Diff 58920. rivanvx added a comment. Updated patch. Single element structs are coerced to its element, and there are tests for structs of different sizes, structs of arrays, structs containing structs. Arrays of structs are disallowed by clang in kernels. Non-ker

Re: [PATCH] D20689: [clang-tidy] Suspicious Call Argument checker

2016-05-29 Thread Varju Janos via cfe-commits
varjujan added a comment. Yes, I did. The results from running the checker on LLVM are in the attached file. Sadly, I could'nt find any real mistakes but as I wrote in the summary, false positives can still indicate bad naming convention for some variables. F1991684: result.txt

[PATCH] D20784: [libcxx][libcxxabi] Decouple no-exceptions libcpp variant from cxa_exception.cpp and cxa_personality.cpp of libcxxabi

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath created this revision. rmaprath added reviewers: EricWF, mclow.lists. rmaprath added a subscriber: cfe-commits. This is a pre-requisite to address a review comment on D20677; The `no-exceptions` variant of libcxxabi should not be allowed to be linked against code that requires exception

Re: [PATCH] D20677: Make it possible to build a -fno-exceptions libc++abi variant.

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath updated this revision to Diff 58927. rmaprath added a comment. OK, managed to solve this problem by removing `cxa_exception.cpp` and `cxa_personality.cpp` from the no-exceptions libcxxabi build. In order to do this, a small patch was needed for `exception.cpp` of libcxx: http://reviews

Re: [PATCH] D20677: Make it possible to build a -fno-exceptions libc++abi variant.

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath added inline comments. Comment at: CMakeLists.txt:111 @@ -110,2 +110,3 @@ # Define options. +option(LIBCXXABI_ENABLE_EXCEPTIONS "Use exceptions." OFF) option(LIBCXXABI_ENABLE_ASSERTIONS "Enable assertions independent of build mode." ON) My bad, this sh

Re: [PATCH] D20677: Make it possible to build a -fno-exceptions libc++abi variant.

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath updated this revision to Diff 58929. rmaprath added a comment. Fixed a few typos. http://reviews.llvm.org/D20677 Files: CMakeLists.txt src/CMakeLists.txt src/cxa_aux_runtime.cpp src/cxa_handlers.cpp src/cxa_new_delete.cpp test/CMakeLists.txt test/backtrace_test.pass.cpp

Re: [PATCH] D20677: Make it possible to build a -fno-exceptions libc++abi variant.

2016-05-29 Thread Asiri Rathnayake via cfe-commits
rmaprath marked an inline comment as done. rmaprath added a comment. http://reviews.llvm.org/D20677 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] r271195 - Fix bug in test allocator that incorrectly computed the allocation size

2016-05-29 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun May 29 20:31:04 2016 New Revision: 271195 URL: http://llvm.org/viewvc/llvm-project?rev=271195&view=rev Log: Fix bug in test allocator that incorrectly computed the allocation size Modified: libcxx/trunk/test/std/experimental/memory/memory.resource.adaptor/memory.reso

Re: [PATCH] D20444: [OpenCL] Include opencl-c.h by default as a clang module

2016-05-29 Thread Xiuli PAN via cfe-commits
pxli168 accepted this revision. pxli168 added a comment. This revision is now accepted and ready to land. LGTM! Thanks! http://reviews.llvm.org/D20444 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

Re: [PATCH] D17438: [OpenCL] Add Sema checks for atomics and implicit declaration

2016-05-29 Thread Xiuli PAN via cfe-commits
pxli168 added a comment. Yes, I found although the khronos have make a clarify with implicit declarations but they sames to be useful with some program link. And I found some test case about link could not pass by this reason. But how should we handle the new added spec? http://reviews.llvm.or

[PATCH] D20786: Fix undefined behavior in __tree

2016-05-29 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added a reviewer: mclow.lists. EricWF added a subscriber: cfe-commits. This patch attempts to fix the undefined behavior in __tree by changing the node pointer types used throughout. The pointer types are changed for raw pointers in the current ABI and for fa

Re: [PATCH] D20786: Fix undefined behavior in __tree

2016-05-29 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 58931. EricWF added a comment. Fix __tree algorithm tests. http://reviews.llvm.org/D20786 Files: include/__config include/__tree test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp test/libcxx/containers/associative/tree_left_rotate

Re: [PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Elena Demikhovsky via cfe-commits
delena added inline comments. Comment at: lib/CodeGen/CGBuiltin.cpp:6304 @@ +6303,3 @@ + Indices[i] = i; +Ops[2] = CGF.Builder.CreateShuffleVector(Ops[2], Ops[2], + makeArrayRef(Indices, NumElts), What code do y

Re: [PATCH] D20786: Fix undefined behavior in __tree

2016-05-29 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 58933. EricWF added a comment. Fix some code I broke last iteration. http://reviews.llvm.org/D20786 Files: include/__config include/__tree test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp test/libcxx/containers/associative/tree_l

Re: [PATCH] D20090: [OPENCL] Fix wrongly vla error for OpenCL array.

2016-05-29 Thread Xiuli PAN via cfe-commits
pxli168 updated this revision to Diff 58932. pxli168 added a comment. Make all tests in OpenCL 2.0. http://reviews.llvm.org/D20090 Files: lib/AST/ExprConstant.cpp lib/Sema/SemaType.cpp test/CodeGenOpenCL/vla.cl Index: test/CodeGenOpenCL/vla.cl

Re: [PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Craig Topper via cfe-commits
craig.topper added inline comments. Comment at: lib/CodeGen/CGBuiltin.cpp:6304 @@ +6303,3 @@ + Indices[i] = i; +Ops[2] = CGF.Builder.CreateShuffleVector(Ops[2], Ops[2], + makeArrayRef(Indices, NumElts), delena w

Re: [PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Elena Demikhovsky via cfe-commits
delena added inline comments. Comment at: lib/CodeGen/CGBuiltin.cpp:6304 @@ +6303,3 @@ + Indices[i] = i; +Ops[2] = CGF.Builder.CreateShuffleVector(Ops[2], Ops[2], + makeArrayRef(Indices, NumElts), craig.topper w

Re: [PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Craig Topper via cfe-commits
craig.topper added inline comments. Comment at: lib/CodeGen/CGBuiltin.cpp:6304 @@ +6303,3 @@ + Indices[i] = i; +Ops[2] = CGF.Builder.CreateShuffleVector(Ops[2], Ops[2], + makeArrayRef(Indices, NumElts), delena w

Re: [PATCH] D20782: [AVX512] Emit generic masked store intrinsics directly from clang instead of using x86 specific intrinsics.

2016-05-29 Thread Elena Demikhovsky via cfe-commits
delena accepted this revision. delena added a comment. This revision is now accepted and ready to land. LGTM, After tests cleanup http://reviews.llvm.org/D20782 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/ma

r271198 - [OpenCL] Remove tests without triple from test/Headers/opencl-c-header.cl.

2016-05-29 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Mon May 30 01:42:48 2016 New Revision: 271198 URL: http://llvm.org/viewvc/llvm-project?rev=271198&view=rev Log: [OpenCL] Remove tests without triple from test/Headers/opencl-c-header.cl. This test requires triples with Itanium C++ ABI whereas triples with MSVC environment us