r313034 - Fix PR34021 test on non-x86 build targets

2017-09-12 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Sep 12 08:04:04 2017 New Revision: 313034 URL: http://llvm.org/viewvc/llvm-project?rev=313034=rev Log: Fix PR34021 test on non-x86 build targets Modified: cfe/trunk/test/CodeGen/pr34021.c Modified: cfe/trunk/test/CodeGen/pr34021.c URL:

r313024 - Limit test to x86 targets

2017-09-12 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Sep 12 05:16:35 2017 New Revision: 313024 URL: http://llvm.org/viewvc/llvm-project?rev=313024=rev Log: Limit test to x86 targets Modified: cfe/trunk/test/CodeGen/pr34021.c Modified: cfe/trunk/test/CodeGen/pr34021.c URL:

r313019 - [MS-InlineAsm] Fix cast assertion with vector spills (PR34021)

2017-09-12 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Sep 12 04:05:42 2017 New Revision: 313019 URL: http://llvm.org/viewvc/llvm-project?rev=313019=rev Log: [MS-InlineAsm] Fix cast assertion with vector spills (PR34021) Differential Revision: https://reviews.llvm.org/D37448 Added: cfe/trunk/test/CodeGen/pr34021.c

r312525 - Removed dead code (PR34467). NFCI.

2017-09-05 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Sep 5 03:37:13 2017 New Revision: 312525 URL: http://llvm.org/viewvc/llvm-project?rev=312525=rev Log: Removed dead code (PR34467). NFCI. The for loop already checks that Idx < NumOfArgs. Modified: cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp Modified:

r312523 - [X86][AVX512] _mm512_stream_load_si512 should take a void const* argument (PR33977)

2017-09-05 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Sep 5 03:06:41 2017 New Revision: 312523 URL: http://llvm.org/viewvc/llvm-project?rev=312523=rev Log: [X86][AVX512] _mm512_stream_load_si512 should take a void const* argument (PR33977) Based off the Intel Intrinsics guide, we should expect a void const* argument.

r312479 - Fix MSVC narrowing conversion warning.

2017-09-04 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Sep 4 03:54:39 2017 New Revision: 312479 URL: http://llvm.org/viewvc/llvm-project?rev=312479=rev Log: Fix MSVC narrowing conversion warning. Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp URL:

[clang-tools-extra] r310830 - Add braces to silence gcc dangling-else warnings. NFCI.

2017-08-14 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Aug 14 04:05:56 2017 New Revision: 310830 URL: http://llvm.org/viewvc/llvm-project?rev=310830=rev Log: Add braces to silence gcc dangling-else warnings. NFCI. Modified: clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp Modified:

[clang-tools-extra] r310783 - Fix Wdocumentation warning - typo in argument list. NFCI.

2017-08-12 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Aug 12 11:50:53 2017 New Revision: 310783 URL: http://llvm.org/viewvc/llvm-project?rev=310783=rev Log: Fix Wdocumentation warning - typo in argument list. NFCI. Modified: clang-tools-extra/trunk/clang-tidy/android/CloexecCheck.h Modified:

r309488 - [X86][AVX] Ensure vector non-temporal load/store intrinsics force pointer alignment (PR33830)

2017-07-29 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jul 29 08:33:34 2017 New Revision: 309488 URL: http://llvm.org/viewvc/llvm-project?rev=309488=rev Log: [X86][AVX] Ensure vector non-temporal load/store intrinsics force pointer alignment (PR33830) Clang specifies a max type alignment of 16 bytes on darwin targets

r309383 - Strip trailing whitespace. NFCI.

2017-07-28 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Jul 28 07:01:51 2017 New Revision: 309383 URL: http://llvm.org/viewvc/llvm-project?rev=309383=rev Log: Strip trailing whitespace. NFCI. Modified: cfe/trunk/lib/Headers/avx512fintrin.h Modified: cfe/trunk/lib/Headers/avx512fintrin.h URL:

r309382 - [X86] Add tests showing inability of vector non-temporal load/store intrinsic to force pointer alignment (PR33830)

2017-07-28 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Jul 28 06:47:02 2017 New Revision: 309382 URL: http://llvm.org/viewvc/llvm-project?rev=309382=rev Log: [X86] Add tests showing inability of vector non-temporal load/store intrinsic to force pointer alignment (PR33830) Clang specifies a max type alignment of 16 bytes on

r307932 - Fix spelling mistakes in comments. NFCI.

2017-07-13 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jul 13 10:34:44 2017 New Revision: 307932 URL: http://llvm.org/viewvc/llvm-project?rev=307932=rev Log: Fix spelling mistakes in comments. NFCI. Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h URL:

r307931 - Fix -Wdocumentation warning. NFCI

2017-07-13 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jul 13 10:29:48 2017 New Revision: 307931 URL: http://llvm.org/viewvc/llvm-project?rev=307931=rev Log: Fix -Wdocumentation warning. NFCI Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h URL:

[clang-tools-extra] r304988 - Wdocumentation fix.

2017-06-08 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jun 8 12:01:01 2017 New Revision: 304988 URL: http://llvm.org/viewvc/llvm-project?rev=304988=rev Log: Wdocumentation fix. Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseNoexceptCheck.h Modified:

r304465 - Don't assume that a store source is a vector type just because the destination is (PR26099)

2017-06-01 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jun 1 15:13:34 2017 New Revision: 304465 URL: http://llvm.org/viewvc/llvm-project?rev=304465=rev Log: Don't assume that a store source is a vector type just because the destination is (PR26099) Added: cfe/trunk/test/CodeGen/pr26099.c Modified:

r304445 - Strip trailing whitespace. NFCI.

2017-06-01 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jun 1 13:17:18 2017 New Revision: 304445 URL: http://llvm.org/viewvc/llvm-project?rev=304445=rev Log: Strip trailing whitespace. NFCI. Modified: cfe/trunk/lib/Sema/SemaOverload.cpp Modified: cfe/trunk/lib/Sema/SemaOverload.cpp URL:

r304444 - Remove late nullptr pointer test (PR32447)

2017-06-01 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jun 1 13:13:02 2017 New Revision: 30 URL: http://llvm.org/viewvc/llvm-project?rev=30=rev Log: Remove late nullptr pointer test (PR32447) IgnoreNarrowingConversion should never return nullptr, but I've added an assert just in case. Modified:

[clang-tools-extra] r303344 - Fix 'not all control paths return a value' warning on windows buildbots.

2017-05-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu May 18 05:48:23 2017 New Revision: 303344 URL: http://llvm.org/viewvc/llvm-project?rev=303344=rev Log: Fix 'not all control paths return a value' warning on windows buildbots. Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp Modified:

[clang-tools-extra] r303078 - Fix windows buildbots - missing include and namespace

2017-05-15 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon May 15 11:36:11 2017 New Revision: 303078 URL: http://llvm.org/viewvc/llvm-project?rev=303078=rev Log: Fix windows buildbots - missing include and namespace Modified: clang-tools-extra/trunk/clangd/DraftStore.cpp clang-tools-extra/trunk/clangd/DraftStore.h

r302559 - [X86][LWP] Remove MSVC LWP intrinsics stubs.

2017-05-09 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue May 9 12:50:16 2017 New Revision: 302559 URL: http://llvm.org/viewvc/llvm-project?rev=302559=rev Log: [X86][LWP] Remove MSVC LWP intrinsics stubs. Now provided in lwpintrin.h Modified: cfe/trunk/lib/Headers/intrin.h Modified: cfe/trunk/lib/Headers/intrin.h URL:

r302557 - [X86][LWP] Removing LWP todo comment. NFCI.

2017-05-09 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue May 9 12:43:16 2017 New Revision: 302557 URL: http://llvm.org/viewvc/llvm-project?rev=302557=rev Log: [X86][LWP] Removing LWP todo comment. NFCI. LWP / lwpintrin.h is now supported Modified: cfe/trunk/lib/Headers/x86intrin.h Modified:

r302445 - [X86][LWP] Add __LWP__ macro tests

2017-05-08 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon May 8 12:25:48 2017 New Revision: 302445 URL: http://llvm.org/viewvc/llvm-project?rev=302445=rev Log: [X86][LWP] Add __LWP__ macro tests Missed in rL302418 Differential Revision: https://reviews.llvm.org/D32770 Modified:

r302418 - [X86][LWP] Add clang support for LWP instructions.

2017-05-08 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon May 8 07:09:45 2017 New Revision: 302418 URL: http://llvm.org/viewvc/llvm-project?rev=302418=rev Log: [X86][LWP] Add clang support for LWP instructions. This patch adds support for the the LightWeight Profiling (LWP) instructions which are available on all AMD

r301749 - [X86][AVX] Added support for _mm256_zext* helper intrinsics (PR32839)

2017-04-29 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Apr 29 12:17:06 2017 New Revision: 301749 URL: http://llvm.org/viewvc/llvm-project?rev=301749=rev Log: [X86][AVX] Added support for _mm256_zext* helper intrinsics (PR32839) Modified: cfe/trunk/lib/Headers/avx512fintrin.h cfe/trunk/lib/Headers/avxintrin.h

r301637 - [X86][SSE] Add _mm_set_pd1 (PR32827)

2017-04-28 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Apr 28 05:28:32 2017 New Revision: 301637 URL: http://llvm.org/viewvc/llvm-project?rev=301637=rev Log: [X86][SSE] Add _mm_set_pd1 (PR32827) Matches _mm_set_ps1 implementation Modified: cfe/trunk/lib/Headers/emmintrin.h cfe/trunk/test/CodeGen/sse2-builtins.c

r300326 - [X86][SSE] Update MOVNTDQA non-temporal loads to generic implementation (clang)

2017-04-14 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Apr 14 10:05:57 2017 New Revision: 300326 URL: http://llvm.org/viewvc/llvm-project?rev=300326=rev Log: [X86][SSE] Update MOVNTDQA non-temporal loads to generic implementation (clang) MOVNTDQA non-temporal aligned vector loads can be correctly represented using generic

[clang-tools-extra] r299642 - Wdocumentation fix

2017-04-06 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Apr 6 05:49:02 2017 New Revision: 299642 URL: http://llvm.org/viewvc/llvm-project?rev=299642=rev Log: Wdocumentation fix Modified: clang-tools-extra/trunk/clang-rename/USRLocFinder.h Modified: clang-tools-extra/trunk/clang-rename/USRLocFinder.h URL:

r299198 - Spelling mistakes in comments. NFCI.

2017-03-31 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Mar 31 06:00:53 2017 New Revision: 299198 URL: http://llvm.org/viewvc/llvm-project?rev=299198=rev Log: Spelling mistakes in comments. NFCI. Modified: cfe/trunk/include/clang/AST/ASTContext.h cfe/trunk/include/clang/AST/Decl.h

r299193 - Strip trailing whitespace

2017-03-31 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Mar 31 05:40:56 2017 New Revision: 299193 URL: http://llvm.org/viewvc/llvm-project?rev=299193=rev Log: Strip trailing whitespace Modified: cfe/trunk/include/clang/AST/ASTContext.h Modified: cfe/trunk/include/clang/AST/ASTContext.h URL:

r299083 - Spelling mistakes in comments. NFCI. (PR27635)

2017-03-30 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Mar 30 09:13:19 2017 New Revision: 299083 URL: http://llvm.org/viewvc/llvm-project?rev=299083=rev Log: Spelling mistakes in comments. NFCI. (PR27635) Modified: cfe/trunk/include/clang/AST/ASTContext.h cfe/trunk/include/clang/AST/Decl.h

[clang-tools-extra] r299074 - Spelling mistakes in comments. NFCI.

2017-03-30 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Mar 30 08:10:33 2017 New Revision: 299074 URL: http://llvm.org/viewvc/llvm-project?rev=299074=rev Log: Spelling mistakes in comments. NFCI. Based on corrections mentioned in patch for clang for PR27635 Modified: clang-tools-extra/trunk/clang-rename/USRFinder.cpp

r298712 - Fix MSVC 'not all control paths return a value' warning.

2017-03-24 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Mar 24 11:59:14 2017 New Revision: 298712 URL: http://llvm.org/viewvc/llvm-project?rev=298712=rev Log: Fix MSVC 'not all control paths return a value' warning. Modified: cfe/trunk/lib/Index/IndexingContext.cpp Modified: cfe/trunk/lib/Index/IndexingContext.cpp URL:

r298511 - [X86][MMX] Add tests for _mm_set*_* intrinsics

2017-03-22 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Mar 22 09:55:43 2017 New Revision: 298511 URL: http://llvm.org/viewvc/llvm-project?rev=298511=rev Log: [X86][MMX] Add tests for _mm_set*_* intrinsics Modified: cfe/trunk/test/CodeGen/mmx-builtins.c Modified: cfe/trunk/test/CodeGen/mmx-builtins.c URL:

r298364 - [X86][AVX512] Add _mm512_cvtsd_f64 and _mm512_cvtss_f32 intrinsics (PR32305)

2017-03-21 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Mar 21 07:46:13 2017 New Revision: 298364 URL: http://llvm.org/viewvc/llvm-project?rev=298364=rev Log: [X86][AVX512] Add _mm512_cvtsd_f64 and _mm512_cvtss_f32 intrinsics (PR32305) Differential Revision: https://reviews.llvm.org/D31155 Modified:

r297905 - Remove repeated code (PR32250). NFCI.

2017-03-15 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Mar 15 17:43:36 2017 New Revision: 297905 URL: http://llvm.org/viewvc/llvm-project?rev=297905=rev Log: Remove repeated code (PR32250). NFCI. Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/IteratorPastEndChecker.cpp Modified:

r297885 - [X86][XOP] Add codegen tests for vector integer comparison intrinsics (PR15844)

2017-03-15 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Mar 15 15:20:43 2017 New Revision: 297885 URL: http://llvm.org/viewvc/llvm-project?rev=297885=rev Log: [X86][XOP] Add codegen tests for vector integer comparison intrinsics (PR15844) We were testing for the generic _mm_com_* intrinsics, but not the specific comparison

r297784 - Fix Wdocumentation warning

2017-03-14 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Mar 14 16:43:52 2017 New Revision: 297784 URL: http://llvm.org/viewvc/llvm-project?rev=297784=rev Log: Fix Wdocumentation warning Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp URL:

r295829 - Fix 'control reaches end of non-void function' warning

2017-02-22 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Feb 22 07:21:24 2017 New Revision: 295829 URL: http://llvm.org/viewvc/llvm-project?rev=295829=rev Log: Fix 'control reaches end of non-void function' warning Modified: cfe/trunk/lib/Serialization/ASTReader.cpp Modified: cfe/trunk/lib/Serialization/ASTReader.cpp

r295828 - Fix -Wunused-private-field warning by removing unused ODRHash reference field from ODRDeclVisitor

2017-02-22 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Feb 22 07:19:24 2017 New Revision: 295828 URL: http://llvm.org/viewvc/llvm-project?rev=295828=rev Log: Fix -Wunused-private-field warning by removing unused ODRHash reference field from ODRDeclVisitor Modified: cfe/trunk/lib/AST/ODRHash.cpp Modified:

r295584 - [X86][XOP] Fix type conversion warning in vpcmov generic implementations.

2017-02-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Feb 18 17:47:34 2017 New Revision: 295584 URL: http://llvm.org/viewvc/llvm-project?rev=295584=rev Log: [X86][XOP] Fix type conversion warning in vpcmov generic implementations. Modified: cfe/trunk/lib/Headers/xopintrin.h Modified: cfe/trunk/lib/Headers/xopintrin.h

[clang-tools-extra] r295498 - Fix windows buildbots that don't have full shell support

2017-02-17 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Feb 17 15:31:31 2017 New Revision: 295498 URL: http://llvm.org/viewvc/llvm-project?rev=295498=rev Log: Fix windows buildbots that don't have full shell support Modified: clang-tools-extra/trunk/test/clang-tidy/clang-tidy-diff.cpp Modified:

r295183 - Fix spelling mistake - paramater -> parameter. NFCI.

2017-02-15 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Feb 15 09:12:06 2017 New Revision: 295183 URL: http://llvm.org/viewvc/llvm-project?rev=295183=rev Log: Fix spelling mistake - paramater -> parameter. NFCI. Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp cfe/trunk/lib/CodeGen/CGCall.cpp

r294740 - Wdocumentation fixes

2017-02-10 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Feb 10 06:14:01 2017 New Revision: 294740 URL: http://llvm.org/viewvc/llvm-project?rev=294740=rev Log: Wdocumentation fixes Modified: cfe/trunk/lib/CodeGen/MacroPPCallbacks.h Modified: cfe/trunk/lib/CodeGen/MacroPPCallbacks.h URL:

[clang-tools-extra] r294299 - Disable test on windows buildbots without shell support

2017-02-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Feb 7 07:08:22 2017 New Revision: 294299 URL: http://llvm.org/viewvc/llvm-project?rev=294299=rev Log: Disable test on windows buildbots without shell support Modified: clang-tools-extra/trunk/test/clangd/formatting.test Modified:

Re: r290773 - Wdocumentation fix

2016-12-31 Thread Simon Pilgrim via cfe-commits
On 30/12/2016 23:12, Richard Smith wrote: On 30 Dec 2016 3:06 pm, "Simon Pilgrim via cfe-commits" <cfe-commits@lists.llvm.org <mailto:cfe-commits@lists.llvm.org>> wrote: Author: rksimon Date: Fri Dec 30 16:55:33 2016 New Revision: 290773 URL: http:

r290773 - Wdocumentation fix

2016-12-30 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Dec 30 16:55:33 2016 New Revision: 290773 URL: http://llvm.org/viewvc/llvm-project?rev=290773=rev Log: Wdocumentation fix Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp URL:

r290547 - Wdocumentation fix

2016-12-26 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Dec 26 12:11:49 2016 New Revision: 290547 URL: http://llvm.org/viewvc/llvm-project?rev=290547=rev Log: Wdocumentation fix Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp URL:

r290258 - Wdocumentation fix

2016-12-21 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Dec 21 10:39:09 2016 New Revision: 290258 URL: http://llvm.org/viewvc/llvm-project?rev=290258=rev Log: Wdocumentation fix Modified: cfe/trunk/include/clang/Sema/Sema.h Modified: cfe/trunk/include/clang/Sema/Sema.h URL:

r290063 - Wdocumentation fix

2016-12-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sun Dec 18 08:12:38 2016 New Revision: 290063 URL: http://llvm.org/viewvc/llvm-project?rev=290063=rev Log: Wdocumentation fix Modified: cfe/trunk/include/clang/Basic/OpenCLOptions.h Modified: cfe/trunk/include/clang/Basic/OpenCLOptions.h URL:

r289285 - Fix unused variable warnings. NFCI.

2016-12-09 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Dec 9 16:45:21 2016 New Revision: 289285 URL: http://llvm.org/viewvc/llvm-project?rev=289285=rev Log: Fix unused variable warnings. NFCI. Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp cfe/trunk/lib/CodeGen/CodeGenTypes.cpp Modified:

r287755 - [X86][AVX512VL] Add missing _mm256_maskz_alignr_epi64 shufflevector check

2016-11-23 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Nov 23 05:38:52 2016 New Revision: 287755 URL: http://llvm.org/viewvc/llvm-project?rev=287755=rev Log: [X86][AVX512VL] Add missing _mm256_maskz_alignr_epi64 shufflevector check Missed in rL287733 Modified: cfe/trunk/test/CodeGen/avx512vl-builtins.c Modified:

r287335 - Wdocumentation fix

2016-11-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Nov 18 05:18:28 2016 New Revision: 287335 URL: http://llvm.org/viewvc/llvm-project?rev=287335=rev Log: Wdocumentation fix Modified: cfe/trunk/include/clang/Driver/Driver.h Modified: cfe/trunk/include/clang/Driver/Driver.h URL:

r287114 - Remove duplicate condition (PR30648). NFCI.

2016-11-16 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Nov 16 10:11:08 2016 New Revision: 287114 URL: http://llvm.org/viewvc/llvm-project?rev=287114=rev Log: Remove duplicate condition (PR30648). NFCI. We only need to check that the bitstream entry is a Record. Modified: cfe/trunk/lib/Serialization/ASTReader.cpp

[PATCH] D26686: [X86][AVX512] Replace lossless i32/u32 to f64 conversion intrinsics with generic IR

2016-11-16 Thread Simon Pilgrim via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL287088: [X86][AVX512] Replace lossless i32/u32 to f64 conversion intrinsics with… (authored by RKSimon). Changed prior to commit: https://reviews.llvm.org/D26686?vs=78038=78146#toc Repository: rL

r287088 - [X86][AVX512] Replace lossless i32/u32 to f64 conversion intrinsics with generic IR

2016-11-16 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Nov 16 03:27:40 2016 New Revision: 287088 URL: http://llvm.org/viewvc/llvm-project?rev=287088=rev Log: [X86][AVX512] Replace lossless i32/u32 to f64 conversion intrinsics with generic IR Both the (V)CVTDQ2PD (i32 to f64) and (V)CVTUDQ2PD (u32 to f64) conversion

[PATCH] D26686: [X86][AVX512] Replace lossless i32/u64 to f64 conversion intrinsics with generic IR

2016-11-15 Thread Simon Pilgrim via cfe-commits
RKSimon created this revision. RKSimon added reviewers: craig.topper, igorb, delena. RKSimon added a subscriber: cfe-commits. RKSimon set the repository for this revision to rL LLVM. Both the (V)CVTDQ2PD (i32 to f64) and (V)CVTDQ2PD (u32 to f64) conversion instructions are lossless and can be

r286996 - Fixed spelling in comments. NFCI.

2016-11-15 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Nov 15 12:28:07 2016 New Revision: 286996 URL: http://llvm.org/viewvc/llvm-project?rev=286996=rev Log: Fixed spelling in comments. NFCI. Modified: cfe/trunk/include/clang/AST/DeclObjC.h cfe/trunk/include/clang/Basic/TargetInfo.h

[PATCH] D20359: [LLVM][AVX512][Intrinsics] Convert AVX non-temporal store builtins to LLVM-native IR.

2016-11-15 Thread Simon Pilgrim via cfe-commits
RKSimon added a comment. Close this? It appears to have been committed, including the auto upgrade tests requested by Craig. https://reviews.llvm.org/D20359 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

r286595 - [X86] Merge (near) duplicate scalar non-temporal store code. NFCI.

2016-11-11 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Nov 11 08:38:34 2016 New Revision: 286595 URL: http://llvm.org/viewvc/llvm-project?rev=286595=rev Log: [X86] Merge (near) duplicate scalar non-temporal store code. NFCI. Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp

[clang-tools-extra] r286449 - Fix -Wdocumentation warning

2016-11-10 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Nov 10 07:54:39 2016 New Revision: 286449 URL: http://llvm.org/viewvc/llvm-project?rev=286449=rev Log: Fix -Wdocumentation warning Modified: clang-tools-extra/trunk/clang-move/ClangMove.h Modified: clang-tools-extra/trunk/clang-move/ClangMove.h URL:

r285390 - Fix MSVC "not all control paths return a value" warning

2016-10-28 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Oct 28 05:09:35 2016 New Revision: 285390 URL: http://llvm.org/viewvc/llvm-project?rev=285390=rev Log: Fix MSVC "not all control paths return a value" warning Add unreachable after enum switch statement Modified: cfe/trunk/lib/Driver/Action.cpp Modified:

Re: r285281 - Fix MSVC warning about missing 'this' from lambda default capture mode

2016-10-27 Thread Simon Pilgrim via cfe-commits
leLexer() method? You’re not kidding, its incredibly annoying. I can add a comment explaining why its there if you wish? Simon >> On 27 Oct 2016, at 12:51, Simon Pilgrim via cfe-commits >> <cfe-commits@lists.llvm.org> wrote: >> >> Author: rksimon >> Date: Thu

r285281 - Fix MSVC warning about missing 'this' from lambda default capture mode

2016-10-27 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Oct 27 05:51:29 2016 New Revision: 285281 URL: http://llvm.org/viewvc/llvm-project?rev=285281=rev Log: Fix MSVC warning about missing 'this' from lambda default capture mode Modified: cfe/trunk/lib/Lex/PPLexerChange.cpp Modified: cfe/trunk/lib/Lex/PPLexerChange.cpp

r285067 - Fix MSVC unused variable warning.

2016-10-25 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Oct 25 07:59:15 2016 New Revision: 285067 URL: http://llvm.org/viewvc/llvm-project?rev=285067=rev Log: Fix MSVC unused variable warning. LLVM_ATTRIBUTE_UNUSED doesn't work for non-gcc style compilers. Modified:

[clang-tools-extra] r284476 - Fix signed/unsigned comparison warnings

2016-10-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Oct 18 08:15:31 2016 New Revision: 284476 URL: http://llvm.org/viewvc/llvm-project?rev=284476=rev Log: Fix signed/unsigned comparison warnings Modified: clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp

r283549 - Wdocumentation fix

2016-10-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Oct 7 08:25:41 2016 New Revision: 283549 URL: http://llvm.org/viewvc/llvm-project?rev=283549=rev Log: Wdocumentation fix Modified: cfe/trunk/include/clang/Sema/Sema.h Modified: cfe/trunk/include/clang/Sema/Sema.h URL:

r283106 - Wdocumentation fix

2016-10-03 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Oct 3 07:37:08 2016 New Revision: 283106 URL: http://llvm.org/viewvc/llvm-project?rev=283106=rev Log: Wdocumentation fix Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp URL:

r282858 - Strip trailing whitespace (NFCI)

2016-09-30 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Sep 30 09:25:09 2016 New Revision: 282858 URL: http://llvm.org/viewvc/llvm-project?rev=282858=rev Log: Strip trailing whitespace (NFCI) Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp URL:

r282857 - Fix int <= bool comparison warning on MSVC

2016-09-30 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Sep 30 09:18:06 2016 New Revision: 282857 URL: http://llvm.org/viewvc/llvm-project?rev=282857=rev Log: Fix int <= bool comparison warning on MSVC Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp URL:

Re: [PATCH] D21021: [Clang][AVX512][BuiltIn]Adding intrinsics move_{sd|ss} to clang

2016-09-16 Thread Simon Pilgrim via cfe-commits
RKSimon added a subscriber: RKSimon. Comment at: lib/Headers/avx512fintrin.h:9124 @@ +9123,3 @@ +{ + return (__m128) __builtin_ia32_movss_mask ((__v4sf) __A, (__v4sf) __B, + (__v4sf) __W, delena wrote: > please try the following: > if (__U) >

r280921 - Moved unreachable to appease msvc, gcc and clang

2016-09-08 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Sep 8 06:03:41 2016 New Revision: 280921 URL: http://llvm.org/viewvc/llvm-project?rev=280921=rev Log: Moved unreachable to appease msvc, gcc and clang Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp URL:

r280917 - Fixed a 'not all control paths return a value' warning on MSVC builds

2016-09-08 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Sep 8 04:59:58 2016 New Revision: 280917 URL: http://llvm.org/viewvc/llvm-project?rev=280917=rev Log: Fixed a 'not all control paths return a value' warning on MSVC builds Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp

r279382 - Wdocumentation fix

2016-08-20 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Aug 20 15:21:27 2016 New Revision: 279382 URL: http://llvm.org/viewvc/llvm-project?rev=279382=rev Log: Wdocumentation fix Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp URL:

r278503 - Fix Wdocumentation unknown parameter warning

2016-08-12 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Aug 12 06:43:57 2016 New Revision: 278503 URL: http://llvm.org/viewvc/llvm-project?rev=278503=rev Log: Fix Wdocumentation unknown parameter warning Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp URL:

r278208 - [X86][AVX] Ensure we only match against 1-byte alignment

2016-08-10 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Aug 10 04:59:49 2016 New Revision: 278208 URL: http://llvm.org/viewvc/llvm-project?rev=278208=rev Log: [X86][AVX] Ensure we only match against 1-byte alignment Modified: cfe/trunk/test/CodeGen/avx-builtins.c Modified: cfe/trunk/test/CodeGen/avx-builtins.c URL:

[clang-tools-extra] r278111 - Fix Wdocumentation unknown parameter warning

2016-08-09 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Aug 9 05:02:11 2016 New Revision: 278111 URL: http://llvm.org/viewvc/llvm-project?rev=278111=rev Log: Fix Wdocumentation unknown parameter warning Modified: clang-tools-extra/trunk/include-fixer/IncludeFixer.h Modified:

r276889 - Fix unnecessary default switch warning

2016-07-27 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Jul 27 11:41:56 2016 New Revision: 276889 URL: http://llvm.org/viewvc/llvm-project?rev=276889=rev Log: Fix unnecessary default switch warning Modified: cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp Modified: cfe/trunk/lib/Sema/CodeCompleteConsumer.cpp URL:

r276417 - [X86][AVX] Added support for lowering to VBROADCASTF128/VBROADCASTI128 with generic IR

2016-07-22 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Fri Jul 22 08:58:56 2016 New Revision: 276417 URL: http://llvm.org/viewvc/llvm-project?rev=276417=rev Log: [X86][AVX] Added support for lowering to VBROADCASTF128/VBROADCASTI128 with generic IR As discussed on D22460, I've updated the vbroadcastf128 pd256/ps256 builtins to

Re: [PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-20 Thread Simon Pilgrim via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL276102: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using… (authored by RKSimon). Changed prior to commit: https://reviews.llvm.org/D22105?vs=64534=64653#toc Repository: rL

r276102 - [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-20 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Jul 20 05:18:01 2016 New Revision: 276102 URL: http://llvm.org/viewvc/llvm-project?rev=276102=rev Log: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR D20859 and D20860 attempted to replace the SSE (V)CVTTPS2DQ and VCVTTPD2DQ

Re: [PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-19 Thread Simon Pilgrim via cfe-commits
RKSimon updated this revision to Diff 64534. RKSimon added a comment. Removed sitofp conversion changes Repository: rL LLVM https://reviews.llvm.org/D22105 Files: include/clang/Basic/BuiltinsX86.def lib/Headers/avxintrin.h lib/Headers/emmintrin.h lib/Headers/xmmintrin.h

Re: [PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-19 Thread Simon Pilgrim via cfe-commits
RKSimon added a comment. In https://reviews.llvm.org/D22105#488566, @eli.friedman wrote: > The x86-specific operation is affected by the rounding mode... but so is a C > cast. This is specified by Annex F in the C standard. > > Of course, you're going to end up with undefined behavior if you

Re: [PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-19 Thread Simon Pilgrim via cfe-commits
RKSimon added a comment. In https://reviews.llvm.org/D22105#488513, @eli.friedman wrote: > I don't think we need to use x86-specific operations for sitofp-like > conversions; the C cast is equivalent given that a 32 or 64-bit integer is > always in within the range of a 32-bit float. I think

r274799 - Update switch statement to match coding standards.

2016-07-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jul 7 17:32:26 2016 New Revision: 274799 URL: http://llvm.org/viewvc/llvm-project?rev=274799=rev Log: Update switch statement to match coding standards. Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/trunk/lib/Basic/Targets.cpp URL:

[PATCH] D22105: [X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using generic IR

2016-07-07 Thread Simon Pilgrim via cfe-commits
RKSimon created this revision. RKSimon added reviewers: eli.friedman, mkuper, craig.topper, spatel, andreadb. RKSimon added a subscriber: cfe-commits. RKSimon set the repository for this revision to rL LLVM. D20859 and D20860 attempted to replace the SSE (V)CVTTPS2DQ and VCVTTPD2DQ truncating

r274748 - Fix "not all control paths return a value" warning on MSVC

2016-07-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jul 7 06:24:38 2016 New Revision: 274748 URL: http://llvm.org/viewvc/llvm-project?rev=274748=rev Log: Fix "not all control paths return a value" warning on MSVC This time without causing a 'all enums handled' warning on other compilers. Modified:

r274746 - Fix "not all control paths return a value" warning on MSVC

2016-07-07 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Thu Jul 7 06:12:02 2016 New Revision: 274746 URL: http://llvm.org/viewvc/llvm-project?rev=274746=rev Log: Fix "not all control paths return a value" warning on MSVC Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/trunk/lib/Basic/Targets.cpp URL:

r274554 - [X86][AVX512] Remove vector BROADCAST builtins.

2016-07-05 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Jul 5 09:49:31 2016 New Revision: 274554 URL: http://llvm.org/viewvc/llvm-project?rev=274554=rev Log: [X86][AVX512] Remove vector BROADCAST builtins. Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def

r274544 - [X86][AVX512] Converted the VBROADCAST intrinsics to generic IR

2016-07-05 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Tue Jul 5 07:59:33 2016 New Revision: 274544 URL: http://llvm.org/viewvc/llvm-project?rev=274544=rev Log: [X86][AVX512] Converted the VBROADCAST intrinsics to generic IR Modified: cfe/trunk/lib/Headers/avx512bwintrin.h cfe/trunk/lib/Headers/avx512fintrin.h

r274523 - [X86][AVX512] Converted the VSHUFPD intrinsics to generic IR

2016-07-04 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Jul 4 16:30:47 2016 New Revision: 274523 URL: http://llvm.org/viewvc/llvm-project?rev=274523=rev Log: [X86][AVX512] Converted the VSHUFPD intrinsics to generic IR Modified: cfe/trunk/lib/Headers/avx512fintrin.h cfe/trunk/lib/Headers/avx512vlintrin.h

r274502 - [X86][AVX512] Converted the VPERMPD/VPERMQ intrinsics to generic IR

2016-07-04 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Jul 4 08:34:44 2016 New Revision: 274502 URL: http://llvm.org/viewvc/llvm-project?rev=274502=rev Log: [X86][AVX512] Converted the VPERMPD/VPERMQ intrinsics to generic IR Modified: cfe/trunk/lib/Headers/avx512fintrin.h cfe/trunk/lib/Headers/avx512vlintrin.h

r274492 - [X86][AVX512] Converted the VPERMILPD/VPERMILPS intrinsics to generic IR

2016-07-04 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Mon Jul 4 06:06:15 2016 New Revision: 274492 URL: http://llvm.org/viewvc/llvm-project?rev=274492=rev Log: [X86][AVX512] Converted the VPERMILPD/VPERMILPS intrinsics to generic IR Modified: cfe/trunk/lib/Headers/avx512fintrin.h

r274442 - [X86][AVX512] Converted the MOVDDUP/MOVSLDUP/MOVSHDUP masked intrinsics to generic IR

2016-07-02 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jul 2 12:16:25 2016 New Revision: 274442 URL: http://llvm.org/viewvc/llvm-project?rev=274442=rev Log: [X86][AVX512] Converted the MOVDDUP/MOVSLDUP/MOVSHDUP masked intrinsics to generic IR llvm companion patch imminent Modified:

r274126 - [X86][SSE2] Updated tests to match llvm\test\CodeGen\X86\sse2-intrinsics-fast-isel-x86_64.ll

2016-06-29 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Wed Jun 29 09:04:08 2016 New Revision: 274126 URL: http://llvm.org/viewvc/llvm-project?rev=274126=rev Log: [X86][SSE2] Updated tests to match llvm\test\CodeGen\X86\sse2-intrinsics-fast-isel-x86_64.ll Modified: cfe/trunk/test/CodeGen/sse2-builtins.c Modified:

Re: [PATCH] D21504: [X86] add _mm_loadu_si64

2016-06-22 Thread Simon Pilgrim via cfe-commits
RKSimon added inline comments. Comment at: tools/clang/test/CodeGen/sse2-builtins.c:1526 @@ +1525,3 @@ + // CHECK-LABEL: test_mm_loadu_si64 + // CHECK: load i64, i64* %__u + // CHECK: insertelement <2 x i64> undef, i64 %{{.*}}, i32 0 Please can add the

Re: [PATCH] D21306: [x86] AVX FP compare builtins should require AVX target feature (PR28112)

2016-06-21 Thread Simon Pilgrim via cfe-commits
RKSimon accepted this revision. RKSimon added a comment. This revision is now accepted and ready to land. LGTM - the compile warning is clear and it could be a problem if we allow undefined values through on pre-AVX targets. The only other thing we could do is handle these in CGBuiltin and

Re: [PATCH] D21373: [Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.

2016-06-21 Thread Simon Pilgrim via cfe-commits
RKSimon accepted this revision. RKSimon added a comment. This revision is now accepted and ready to land. LGTM Comment at: lib/Headers/bmiintrin.h:284 @@ -283,2 +283,3 @@ ///bits in the operand. + static __inline__ unsigned int __RELAXED_FN_ATTRS Why the

Re: [PATCH] D21504: [X86] add _mm_loadu_si64

2016-06-19 Thread Simon Pilgrim via cfe-commits
RKSimon added a subscriber: RKSimon. Comment at: tools/clang/test/CodeGen/sse2-builtins.c:1527 @@ +1526,3 @@ + // CHECK: load i64, i64* %__u + // CHECK: insertelement <2 x i64> undef, i64 %4, i32 0 + // CHECK: insertelement <2 x i64> %{{.*}}, i64 0, i32 1

r273090 - [X86][XOP] Refreshed builtin tests ready for creation of llvm fast-isel tests

2016-06-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jun 18 13:20:14 2016 New Revision: 273090 URL: http://llvm.org/viewvc/llvm-project?rev=273090=rev Log: [X86][XOP] Refreshed builtin tests ready for creation of llvm fast-isel tests Modified: cfe/trunk/test/CodeGen/xop-builtins.c Modified:

r273086 - [X86][TBM] Refreshed builtin tests ready for creation of llvm fast-isel tests

2016-06-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jun 18 12:09:40 2016 New Revision: 273086 URL: http://llvm.org/viewvc/llvm-project?rev=273086=rev Log: [X86][TBM] Refreshed builtin tests ready for creation of llvm fast-isel tests Modified: cfe/trunk/test/CodeGen/tbm-builtins.c Modified:

<    3   4   5   6   7   8   9   10   >