[clang] fd37ead - Fix unknown parameter Wdocumentation warning. NFC.

2021-08-19 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-19T15:40:10+01:00 New Revision: fd37ead38659dec3e63b1b560d43e81249f3e3ce URL: https://github.com/llvm/llvm-project/commit/fd37ead38659dec3e63b1b560d43e81249f3e3ce DIFF: https://github.com/llvm/llvm-project/commit/fd37ead38659dec3e63b1b560d43e81249f3e3ce.diff

[clang] ae69164 - Fix unknown parameter Wdocumentation warning. NFC.

2021-08-19 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-19T15:40:10+01:00 New Revision: ae691648b47091313a5c2f964800d53e60b635ea URL: https://github.com/llvm/llvm-project/commit/ae691648b47091313a5c2f964800d53e60b635ea DIFF: https://github.com/llvm/llvm-project/commit/ae691648b47091313a5c2f964800d53e60b635ea.diff

[clang] b0bf0b2 - [Clang][AST][NFC] Resolve FIXME: Make CXXRecordDecl *Record const.

2021-08-19 Thread Simon Pilgrim via cfe-commits
Author: Alfsonso Gregory Date: 2021-08-19T16:36:32+01:00 New Revision: b0bf0b2e79e848ae502d7efc00a0bac37a96aedb URL: https://github.com/llvm/llvm-project/commit/b0bf0b2e79e848ae502d7efc00a0bac37a96aedb DIFF: https://github.com/llvm/llvm-project/commit/b0bf0b2e79e848ae502d7efc00a0bac37a96aedb.di

[clang] 62f4c90 - [Sema] Remove dead return immediately after another return. NFC.

2021-08-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-20T12:11:23+01:00 New Revision: 62f4c90aaf1eb418f69e73cbbf170264a02c2688 URL: https://github.com/llvm/llvm-project/commit/62f4c90aaf1eb418f69e73cbbf170264a02c2688 DIFF: https://github.com/llvm/llvm-project/commit/62f4c90aaf1eb418f69e73cbbf170264a02c2688.diff

[clang] 5b72fb8 - [AST] getDeclLocForCommentSearch - remove dead return. NFC.

2021-08-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-20T12:32:29+01:00 New Revision: 5b72fb866c16d63a3403848f0a4f04f522da8ba3 URL: https://github.com/llvm/llvm-project/commit/5b72fb866c16d63a3403848f0a4f04f522da8ba3 DIFF: https://github.com/llvm/llvm-project/commit/5b72fb866c16d63a3403848f0a4f04f522da8ba3.diff

[clang-tools-extra] b2aa470 - [clangd] detectClangPath() - remove (dead) return. NFC.

2021-08-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-20T12:41:38+01:00 New Revision: b2aa470faeb7aaedfa63cb192a710fbe086f15c1 URL: https://github.com/llvm/llvm-project/commit/b2aa470faeb7aaedfa63cb192a710fbe086f15c1 DIFF: https://github.com/llvm/llvm-project/commit/b2aa470faeb7aaedfa63cb192a710fbe086f15c1.diff

[clang] c94f4a9 - ClangOffloadBundler - getCompatibleOffloadTargets - Fix unknown parameter Wdocumentation warnings. NFC.

2021-08-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-20T14:31:11+01:00 New Revision: c94f4a9c5d8ca826986c9490e668ba66afad3419 URL: https://github.com/llvm/llvm-project/commit/c94f4a9c5d8ca826986c9490e668ba66afad3419 DIFF: https://github.com/llvm/llvm-project/commit/c94f4a9c5d8ca826986c9490e668ba66afad3419.diff

[clang] 7f48bd3 - CGBuiltin.cpp - pass SVETypeFlags by const reference. NFC.

2021-08-22 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-22T12:13:17+01:00 New Revision: 7f48bd3bed9540cc4c72091dfb38e40dfac24aa4 URL: https://github.com/llvm/llvm-project/commit/7f48bd3bed9540cc4c72091dfb38e40dfac24aa4 DIFF: https://github.com/llvm/llvm-project/commit/7f48bd3bed9540cc4c72091dfb38e40dfac24aa4.diff

[clang] d53866f - Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warnings. NFCI.

2021-03-11 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-03-11T10:29:14Z New Revision: d53866ff473d4023b0e3db68a1b91cfa59aacbb9 URL: https://github.com/llvm/llvm-project/commit/d53866ff473d4023b0e3db68a1b91cfa59aacbb9 DIFF: https://github.com/llvm/llvm-project/commit/d53866ff473d4023b0e3db68a1b91cfa59aacbb9.diff LOG:

[clang] df2a6ee - [Sema] Use castAs<> instead getAs<> for dereferenced pointer casts. NFCI.

2021-03-11 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-03-11T14:51:25Z New Revision: df2a6ee3247c9d00b42c14ea924fd25cc45bda87 URL: https://github.com/llvm/llvm-project/commit/df2a6ee3247c9d00b42c14ea924fd25cc45bda87 DIFF: https://github.com/llvm/llvm-project/commit/df2a6ee3247c9d00b42c14ea924fd25cc45bda87.diff LOG:

[clang] 731b3d7 - [clang] Use Constant::getAllOnesValue helper. NFCI.

2021-03-12 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-03-12T15:16:36Z New Revision: 731b3d766420ce05726174ff0e1527dca8a63791 URL: https://github.com/llvm/llvm-project/commit/731b3d766420ce05726174ff0e1527dca8a63791 DIFF: https://github.com/llvm/llvm-project/commit/731b3d766420ce05726174ff0e1527dca8a63791.diff LOG:

[clang] 8d09311 - [clang] Sema::ActOnModuleImport - remove superfluous nullptr test

2022-03-09 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-09T11:40:36Z New Revision: 8d0931114f2df30c23b4eb1380185063f4684851 URL: https://github.com/llvm/llvm-project/commit/8d0931114f2df30c23b4eb1380185063f4684851 DIFF: https://github.com/llvm/llvm-project/commit/8d0931114f2df30c23b4eb1380185063f4684851.diff LOG:

[clang] d258196 - [clang] ScalarExprEmitter::VisitCastExpr - use castAs<> instead of getAs<> to avoid dereference of nullptr

2022-03-09 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-09T11:40:37Z New Revision: d258196f5fddf510e785be68da803d5feae56855 URL: https://github.com/llvm/llvm-project/commit/d258196f5fddf510e785be68da803d5feae56855 DIFF: https://github.com/llvm/llvm-project/commit/d258196f5fddf510e785be68da803d5feae56855.diff LOG:

[clang] a157d83 - [clang] Environment::createValueUnlessSelfReferential - use castAs<> instead of getAs<> to avoid dereference of nullptr

2022-03-09 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-09T11:40:37Z New Revision: a157d839c52077001f234ce5c8b0cbc05fbb429c URL: https://github.com/llvm/llvm-project/commit/a157d839c52077001f234ce5c8b0cbc05fbb429c DIFF: https://github.com/llvm/llvm-project/commit/a157d839c52077001f234ce5c8b0cbc05fbb429c.diff LOG:

[clang] 7262eac - Revert rG9c542a5a4e1ba36c24e48185712779df52b7f7a6 "Lower `@llvm.global_dtors` using `__cxa_atexit` on MachO"

2022-03-15 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-15T13:01:35Z New Revision: 7262eacd41997d7ca262d83367e28998662c1b21 URL: https://github.com/llvm/llvm-project/commit/7262eacd41997d7ca262d83367e28998662c1b21 DIFF: https://github.com/llvm/llvm-project/commit/7262eacd41997d7ca262d83367e28998662c1b21.diff LOG:

[clang] 4e4f839 - [X86] Use the unaligned vector typedefs for the lddqu intrinsics pointer arguments (PR20670)

2022-03-17 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-17T10:42:29Z New Revision: 4e4f839ac2a9002df504f1bed8383c2d7d72e86e URL: https://github.com/llvm/llvm-project/commit/4e4f839ac2a9002df504f1bed8383c2d7d72e86e DIFF: https://github.com/llvm/llvm-project/commit/4e4f839ac2a9002df504f1bed8383c2d7d72e86e.diff LOG:

[clang] ef865d1 - [clang] AddObjCKeyValueCompletions - use castAs<> instead of getAs<> to avoid dereference of nullptr

2022-03-17 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-17T16:16:01Z New Revision: ef865d16ec3b8ce636786ed472ac28c977f2f304 URL: https://github.com/llvm/llvm-project/commit/ef865d16ec3b8ce636786ed472ac28c977f2f304 DIFF: https://github.com/llvm/llvm-project/commit/ef865d16ec3b8ce636786ed472ac28c977f2f304.diff LOG:

[clang] b3fd44d - Sema.h - fix Wdocumentation warnings. NFC.

2022-07-30 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-07-30T11:00:16+01:00 New Revision: b3fd44dd6adbd53b43893e5379be8eefde36c701 URL: https://github.com/llvm/llvm-project/commit/b3fd44dd6adbd53b43893e5379be8eefde36c701 DIFF: https://github.com/llvm/llvm-project/commit/b3fd44dd6adbd53b43893e5379be8eefde36c701.diff

[clang] 91d9b7b - DependencyScanningTool.h - fix Wdocumentation warning. NFC.

2022-07-30 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-07-30T11:00:35+01:00 New Revision: 91d9b7b407947a958ea31746e20424ba7c446f15 URL: https://github.com/llvm/llvm-project/commit/91d9b7b407947a958ea31746e20424ba7c446f15 DIFF: https://github.com/llvm/llvm-project/commit/91d9b7b407947a958ea31746e20424ba7c446f15.diff

[clang] b978fa2 - OffloadBundler.cpp - fix Wdocumentation warnings. NFC.

2022-08-01 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-08-01T15:24:47+01:00 New Revision: b978fa2844391bd9c12eb9b9b002daebf51bf1ca URL: https://github.com/llvm/llvm-project/commit/b978fa2844391bd9c12eb9b9b002daebf51bf1ca DIFF: https://github.com/llvm/llvm-project/commit/b978fa2844391bd9c12eb9b9b002daebf51bf1ca.diff

[clang-tools-extra] cb5d0b4 - AST.h - fix Wdocumentation warnings. NFC.

2022-08-01 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-08-01T15:38:06+01:00 New Revision: cb5d0b41baf2f137f377a8d03481d6a5574a31ec URL: https://github.com/llvm/llvm-project/commit/cb5d0b41baf2f137f377a8d03481d6a5574a31ec DIFF: https://github.com/llvm/llvm-project/commit/cb5d0b41baf2f137f377a8d03481d6a5574a31ec.diff

[clang-tools-extra] dc15bed - Fix MSVC "not all control paths return a value" warning

2022-04-07 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-07T14:01:15+01:00 New Revision: dc15bedfb9de8ec574c1b480a15cd584b82eaa0d URL: https://github.com/llvm/llvm-project/commit/dc15bedfb9de8ec574c1b480a15cd584b82eaa0d DIFF: https://github.com/llvm/llvm-project/commit/dc15bedfb9de8ec574c1b480a15cd584b82eaa0d.diff

[clang] 88d61cc - [X86][SSE] Add i386 test coverage to sse3 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T10:44:28+01:00 New Revision: 88d61cc6e934225059490249ce12e48f4559587d URL: https://github.com/llvm/llvm-project/commit/88d61cc6e934225059490249ce12e48f4559587d DIFF: https://github.com/llvm/llvm-project/commit/88d61cc6e934225059490249ce12e48f4559587d.diff

[clang] 6574d75 - [XOP] Add i386 test coverage to xop intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T10:44:27+01:00 New Revision: 6574d75b8dae6219d003fe8b1046db34199248f2 URL: https://github.com/llvm/llvm-project/commit/6574d75b8dae6219d003fe8b1046db34199248f2 DIFF: https://github.com/llvm/llvm-project/commit/6574d75b8dae6219d003fe8b1046db34199248f2.diff

[clang] c86588a - [X86][SSE] Add i386 test coverage to ssse3 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T10:44:28+01:00 New Revision: c86588af6596d96d046513269dbb1284016391a4 URL: https://github.com/llvm/llvm-project/commit/c86588af6596d96d046513269dbb1284016391a4 DIFF: https://github.com/llvm/llvm-project/commit/c86588af6596d96d046513269dbb1284016391a4.diff

[clang] b402ea5 - [X86][SSE] Add i386 test coverage to sse4a intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T10:48:47+01:00 New Revision: b402ea55a834c956de87816143f05fab7fde74ca URL: https://github.com/llvm/llvm-project/commit/b402ea55a834c956de87816143f05fab7fde74ca DIFF: https://github.com/llvm/llvm-project/commit/b402ea55a834c956de87816143f05fab7fde74ca.diff

[clang] 90e5c69 - [X86][SSE] Add i386 test coverage to sse41 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T11:06:06+01:00 New Revision: 90e5c690e2a0b4973e86fb6c010264e5452319f9 URL: https://github.com/llvm/llvm-project/commit/90e5c690e2a0b4973e86fb6c010264e5452319f9 DIFF: https://github.com/llvm/llvm-project/commit/90e5c690e2a0b4973e86fb6c010264e5452319f9.diff

[clang] ba2e567 - [X86][SSE] Add i386 test coverage to sse42 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T11:06:07+01:00 New Revision: ba2e567f049df942b374c2002da9aef06e0b6dc4 URL: https://github.com/llvm/llvm-project/commit/ba2e567f049df942b374c2002da9aef06e0b6dc4 DIFF: https://github.com/llvm/llvm-project/commit/ba2e567f049df942b374c2002da9aef06e0b6dc4.diff

[clang] 7c1bff3 - [X86][FMA4] Add i386 test coverage to fma4 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T11:14:18+01:00 New Revision: 7c1bff3f7bc569fa2fcbc10365efc787552caa49 URL: https://github.com/llvm/llvm-project/commit/7c1bff3f7bc569fa2fcbc10365efc787552caa49 DIFF: https://github.com/llvm/llvm-project/commit/7c1bff3f7bc569fa2fcbc10365efc787552caa49.diff

[clang] 3949c2d - [X86][SSE] Add i386 test coverage to sse2 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T12:05:10+01:00 New Revision: 3949c2de79813231492e631cfd3680198d146fe9 URL: https://github.com/llvm/llvm-project/commit/3949c2de79813231492e631cfd3680198d146fe9 DIFF: https://github.com/llvm/llvm-project/commit/3949c2de79813231492e631cfd3680198d146fe9.diff

[clang] 2c176f2 - [X86][AVX] Add i386 test coverage to avx intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T15:12:11+01:00 New Revision: 2c176f2f1ed7b4dcad3d229b9a61e77e17370baf URL: https://github.com/llvm/llvm-project/commit/2c176f2f1ed7b4dcad3d229b9a61e77e17370baf DIFF: https://github.com/llvm/llvm-project/commit/2c176f2f1ed7b4dcad3d229b9a61e77e17370baf.diff

[clang] 0140a67 - [X86][AVX] Add i386 test coverage to avx-vnni intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T15:12:12+01:00 New Revision: 0140a672a62b9a01742d0c449adc3a710e446ad7 URL: https://github.com/llvm/llvm-project/commit/0140a672a62b9a01742d0c449adc3a710e446ad7 DIFF: https://github.com/llvm/llvm-project/commit/0140a672a62b9a01742d0c449adc3a710e446ad7.diff

[clang] 72d4e3d - [X86][AVX] Add i386 test coverage to avx2 intrinsic tests

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T15:12:12+01:00 New Revision: 72d4e3dc2d6f560e44fffefd7fc6987e9083698f URL: https://github.com/llvm/llvm-project/commit/72d4e3dc2d6f560e44fffefd7fc6987e9083698f DIFF: https://github.com/llvm/llvm-project/commit/72d4e3dc2d6f560e44fffefd7fc6987e9083698f.diff

[clang] 1226d27 - [X86][AVX512] Rename avx512popcntdq intrinsics tests files to match *-builtins.c naming convention

2022-04-20 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-04-20T15:12:12+01:00 New Revision: 1226d276b46d084e4c39357d0d6d72827e88c7b4 URL: https://github.com/llvm/llvm-project/commit/1226d276b46d084e4c39357d0d6d72827e88c7b4 DIFF: https://github.com/llvm/llvm-project/commit/1226d276b46d084e4c39357d0d6d72827e88c7b4.diff

[clang] a23291b - [Clang] Add integer add reduction builtin

2022-05-02 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-02T11:03:25+01:00 New Revision: a23291b7db48670f7c57adcfb45877c826a97f22 URL: https://github.com/llvm/llvm-project/commit/a23291b7db48670f7c57adcfb45877c826a97f22 DIFF: https://github.com/llvm/llvm-project/commit/a23291b7db48670f7c57adcfb45877c826a97f22.diff

[clang] 9a14c36 - [X86] Replace avx512f integer add reduction builtins with generic builtin

2022-05-02 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-02T14:39:17+01:00 New Revision: 9a14c369c422b244db78f1a9f947a891a75d912f URL: https://github.com/llvm/llvm-project/commit/9a14c369c422b244db78f1a9f947a891a75d912f DIFF: https://github.com/llvm/llvm-project/commit/9a14c369c422b244db78f1a9f947a891a75d912f.diff

[clang] 102824f - [clang][X86] Rename some intrinsics tests to use the *-builtins.c naming convention

2022-05-06 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-06T14:49:46+01:00 New Revision: 102824f04893452b6d1602a8d57949844b07bef9 URL: https://github.com/llvm/llvm-project/commit/102824f04893452b6d1602a8d57949844b07bef9 DIFF: https://github.com/llvm/llvm-project/commit/102824f04893452b6d1602a8d57949844b07bef9.diff

[clang] 6e34542 - [X86] Remove unused 'hint' argument from prefetch tests

2022-05-07 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-07T13:38:40+01:00 New Revision: 6e345426de370479c322962f7aa1dd1cde817adf URL: https://github.com/llvm/llvm-project/commit/6e345426de370479c322962f7aa1dd1cde817adf DIFF: https://github.com/llvm/llvm-project/commit/6e345426de370479c322962f7aa1dd1cde817adf.diff

[clang] 2cd080c - [X86] rdrand-builtins.c - add 32-bit target coverage and enable -Wall/-Werror

2022-05-07 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-07T14:35:42+01:00 New Revision: 2cd080c884a3dd1fc673f02afd48bfe9ba01ce89 URL: https://github.com/llvm/llvm-project/commit/2cd080c884a3dd1fc673f02afd48bfe9ba01ce89 DIFF: https://github.com/llvm/llvm-project/commit/2cd080c884a3dd1fc673f02afd48bfe9ba01ce89.diff

[clang] 4750be4 - [X86] Add 32-bit target test coverage to clean header tests

2022-05-07 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-07T15:23:46+01:00 New Revision: 4750be4907bc22c1b7575fa53c3568628d6cbbe4 URL: https://github.com/llvm/llvm-project/commit/4750be4907bc22c1b7575fa53c3568628d6cbbe4 DIFF: https://github.com/llvm/llvm-project/commit/4750be4907bc22c1b7575fa53c3568628d6cbbe4.diff

[clang] e7806c0 - [Headers][X86] amxintrin.h - fixed unknown parameter Wdocumentation warning. NFC

2022-05-07 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-07T16:20:39+01:00 New Revision: e7806c08dc1b1c80104029b7a28f748f7123593f URL: https://github.com/llvm/llvm-project/commit/e7806c08dc1b1c80104029b7a28f748f7123593f DIFF: https://github.com/llvm/llvm-project/commit/e7806c08dc1b1c80104029b7a28f748f7123593f.diff

[clang] f2b1648 - [X86] Fix some signedness errors in x86 headers

2022-05-08 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-08T09:42:58+01:00 New Revision: f2b16488129ef408e89c900f61dc53b1a6699c45 URL: https://github.com/llvm/llvm-project/commit/f2b16488129ef408e89c900f61dc53b1a6699c45 DIFF: https://github.com/llvm/llvm-project/commit/f2b16488129ef408e89c900f61dc53b1a6699c45.diff

[clang] 6b3a111 - [Headers][X86] Replace \operation with \code{.operation}

2022-05-08 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-08T10:46:26+01:00 New Revision: 6b3a111a2867ce075e70ff1fa1eac2a9e1a4156a URL: https://github.com/llvm/llvm-project/commit/6b3a111a2867ce075e70ff1fa1eac2a9e1a4156a DIFF: https://github.com/llvm/llvm-project/commit/6b3a111a2867ce075e70ff1fa1eac2a9e1a4156a.diff

[clang] 72eb630 - [Headers][X86] Enable basic Wdocumentation testing on X86 headers

2022-05-08 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-08T10:53:28+01:00 New Revision: 72eb630207b812dced21fb820c6d65ecc2978c0a URL: https://github.com/llvm/llvm-project/commit/72eb630207b812dced21fb820c6d65ecc2978c0a DIFF: https://github.com/llvm/llvm-project/commit/72eb630207b812dced21fb820c6d65ecc2978c0a.diff

[clang] 8a92c45 - [Clang] Add integer mul reduction builtin

2022-05-09 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-09T12:12:53+01:00 New Revision: 8a92c45e07dc81c83ca3afda3971d98c512429d4 URL: https://github.com/llvm/llvm-project/commit/8a92c45e07dc81c83ca3afda3971d98c512429d4 DIFF: https://github.com/llvm/llvm-project/commit/8a92c45e07dc81c83ca3afda3971d98c512429d4.diff

[clang] ec6024d - [X86] Replace avx512f integer mul reduction builtins with generic builtin

2022-05-09 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-09T14:10:28+01:00 New Revision: ec6024d0811b3116e0a29481b01179d5081a3b92 URL: https://github.com/llvm/llvm-project/commit/ec6024d0811b3116e0a29481b01179d5081a3b92 DIFF: https://github.com/llvm/llvm-project/commit/ec6024d0811b3116e0a29481b01179d5081a3b92.diff

[clang] ce2b36e - [clang] CheckSizelessVectorOperands - use castAs<> instead of getAs<> to avoid dereference of nullptr

2022-03-25 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-03-25T10:23:30Z New Revision: ce2b36e123e7b5312016b09c1b2971c9d80416e7 URL: https://github.com/llvm/llvm-project/commit/ce2b36e123e7b5312016b09c1b2971c9d80416e7 DIFF: https://github.com/llvm/llvm-project/commit/ce2b36e123e7b5312016b09c1b2971c9d80416e7.diff LOG:

[clang-tools-extra] ffacaa0 - Fix unused function 'operator<<' -Wunused-function warning introduced in D124500

2022-05-14 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-14T13:48:26+01:00 New Revision: ffacaa0beccbe318090be600f8d2d2c33c33cbd6 URL: https://github.com/llvm/llvm-project/commit/ffacaa0beccbe318090be600f8d2d2c33c33cbd6 DIFF: https://github.com/llvm/llvm-project/commit/ffacaa0beccbe318090be600f8d2d2c33c33cbd6.diff

[clang] f66596c - [clang][docs] Add escape code to fix missing '*' in reduction operation list

2022-05-15 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-05-15T12:32:11+01:00 New Revision: f66596c94f772e214fd9d96cc78f7fec17209281 URL: https://github.com/llvm/llvm-project/commit/f66596c94f772e214fd9d96cc78f7fec17209281 DIFF: https://github.com/llvm/llvm-project/commit/f66596c94f772e214fd9d96cc78f7fec17209281.diff

[clang] 781dc34 - [clang][docs] Fix typo in code-block declaration

2022-06-11 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-06-11T09:28:38+01:00 New Revision: 781dc344f5e13b163818fa851f278233d53724c3 URL: https://github.com/llvm/llvm-project/commit/781dc344f5e13b163818fa851f278233d53724c3 DIFF: https://github.com/llvm/llvm-project/commit/781dc344f5e13b163818fa851f278233d53724c3.diff

[clang] 43e7ba6 - Fix signed/unsigned comparison warning

2022-06-15 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2022-06-15T11:53:08+01:00 New Revision: 43e7ba6495359bcc14580725468e7736e97edcc6 URL: https://github.com/llvm/llvm-project/commit/43e7ba6495359bcc14580725468e7736e97edcc6 DIFF: https://github.com/llvm/llvm-project/commit/43e7ba6495359bcc14580725468e7736e97edcc6.diff

[clang] [X86][AVX10] Fix a bug when using -march with no-evex512 attribute (PR #72126)

2023-11-13 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/72126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 539e076 - Fix MSVC "not all control paths return a value" warnings. NFC.

2023-11-03 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2023-11-03T09:50:09Z New Revision: 539e076e1c99f4fba7f139f819f8e95b09ee8faf URL: https://github.com/llvm/llvm-project/commit/539e076e1c99f4fba7f139f819f8e95b09ee8faf DIFF: https://github.com/llvm/llvm-project/commit/539e076e1c99f4fba7f139f819f8e95b09ee8faf.diff LOG:

[clang] 141122e - [TableGen] Use StringRef::starts_with/ends_with instead of startswith/endswith. NFC.

2023-11-03 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2023-11-03T17:53:56Z New Revision: 141122ece3c09a2f2e3c0280687633820bf632d5 URL: https://github.com/llvm/llvm-project/commit/141122ece3c09a2f2e3c0280687633820bf632d5 DIFF: https://github.com/llvm/llvm-project/commit/141122ece3c09a2f2e3c0280687633820bf632d5.diff LOG:

[clang] 8d72079 - Fix MSVC "not all control paths return a value" warning. NFC.

2023-11-08 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2023-11-08T10:45:20Z New Revision: 8d72079077f8b8bf4a8d7173edbb09be083d975b URL: https://github.com/llvm/llvm-project/commit/8d72079077f8b8bf4a8d7173edbb09be083d975b DIFF: https://github.com/llvm/llvm-project/commit/8d72079077f8b8bf4a8d7173edbb09be083d975b.diff LOG:

[clang] [Headers] Add \returns to _rdpid_u32 (PR #70481)

2023-10-27 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/70481 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] [llvm] [X86] Emit Warnings for frontend options to enable knl/knm specific ISAs. (PR #75580)

2024-01-08 Thread Simon Pilgrim via cfe-commits
@@ -933,6 +933,9 @@ X86 Support - Support ISA of ``AVX10.1``. - ``-march=pantherlake`` and ``-march=clearwaterforest`` are now supported. - Added ABI handling for ``__float128`` to match with GCC. +- Emit Warnings for clang options to enable knl/knm. From next version + (LLVM

[clang] [clang-tools-extra] [llvm] [X86] Emit Warnings for frontend options to enable knl/knm specific ISAs. (PR #75580)

2024-01-09 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM - please make sure you adjust the commit message (the patch summary doesn't refer to removing just the knl/knm specific ISAs) https://github.com/llvm/llvm-project/pull/75580 ___ cfe-commits m

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-09 Thread Simon Pilgrim via cfe-commits
Pol Marcet =?utf-8?q?Sardà?= , Pol Marcet =?utf-8?q?Sardà?= ,Pol M Message-ID: In-Reply-To: @@ -2702,7 +2702,8 @@ static bool checkFloatingPointResult(EvalInfo &Info, const Expr *E, static bool HandleFloatToFloatCast(EvalInfo &Info, const Expr *E,

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon commented: A few minors https://github.com/llvm/llvm-project/pull/77925 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/77925 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
@@ -3963,6 +3963,60 @@ implicitly included in later levels. - ``-march=x86-64-v3``: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE - ``-march=x86-64-v4``: AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL +`Intel AVX10 ISA

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
@@ -3963,6 +3963,60 @@ implicitly included in later levels. - ``-march=x86-64-v3``: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE - ``-march=x86-64-v4``: AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL +`Intel AVX10 ISA

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
@@ -3963,6 +3963,60 @@ implicitly included in later levels. - ``-march=x86-64-v3``: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE - ``-march=x86-64-v4``: AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL +`Intel AVX10 ISA

[clang] [AVX10][Doc] Add documentation about AVX10 options and their attentions (PR #77925)

2024-01-12 Thread Simon Pilgrim via cfe-commits
@@ -3963,6 +3963,60 @@ implicitly included in later levels. - ``-march=x86-64-v3``: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE - ``-march=x86-64-v4``: AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL +`Intel AVX10 ISA

[llvm] [clang] [X86] Use vXi1 for `k` constraint in inline asm (PR #77733)

2024-01-12 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon commented: Should we add test coverage for the gpr <-> mask transfers? https://github.com/llvm/llvm-project/pull/77733 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cf

[clang] [compiler-rt] [llvm] [lld] [libc] [flang] [libcxx] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-23 Thread Simon Pilgrim via cfe-commits
@@ -7254,6 +7255,10 @@ static SDValue lowerBuildVectorAsBroadcast(BuildVectorSDNode *BVOp, EVT CVT = Ld.getValueType(); assert(!CVT.isVector() && "Must not broadcast a vector type"); +// 512 bit vpbroadcastw is only available with AVX512BW +if (ScalarSize == 1

[libcxx] [llvm] [compiler-rt] [libc] [lld] [clang] [flang] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-23 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/73186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [lld] [compiler-rt] [libcxx] [libc] [flang] [clang] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-24 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/73186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [compiler-rt] [lld] [llvm] [libc] [clang] [libcxx] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-24 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon commented: Just a couple of minors https://github.com/llvm/llvm-project/pull/73186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [flang] [clang] [llvm] [libc] [compiler-rt] [lld] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-24 Thread Simon Pilgrim via cfe-commits
@@ -881,6 +881,23 @@ static bool isEndbrImm64(uint64_t Imm) { return false; } +static bool needBWI(MVT VT) { + return (VT == MVT::v32i16 || VT == MVT::v32f16 || VT == MVT::v64i8); +} + +static MVT getNarrowType(MVT VT) { + if (VT == MVT::v32i16) +return MVT::v16i16; +

[clang] [llvm] [lld] [compiler-rt] [libcxx] [libc] [flang] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-24 Thread Simon Pilgrim via cfe-commits
@@ -986,15 +1003,15 @@ void X86DAGToDAGISel::PreprocessISelDAG() { case X86ISD::VBROADCAST: { MVT VT = N->getSimpleValueType(0); // Emulate v32i16/v64i8 broadcast without BWI. - if (!Subtarget->hasBWI() && (VT == MVT::v32i16 || VT == MVT::v64i8)) { -

[clang] [libc] [libcxx] [compiler-rt] [llvm] [lld] [flang] Fix ISel crash when lowering BUILD_VECTOR (PR #73186)

2023-11-27 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM - cheers https://github.com/llvm/llvm-project/pull/73186 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Remove NetBSD/i386 workaround for FP eval method with older versions (PR #74025)

2023-12-01 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: This should be documented in the release notes in case somebody was still building for such an old netbsd. Should we emit any compile warnings/errors when building for this triple? https://github.com/llvm/llvm-project/pull/74025 ___ cf

[clang-tools-extra] [flang] [llvm] [compiler-rt] [clang] [Legalizer] Expand fmaximum and fminimum (PR #67301)

2023-12-12 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/67301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [clang] [compiler-rt] [clang-tools-extra] [llvm] [Legalizer] Expand fmaximum and fminimum (PR #67301)

2023-12-12 Thread Simon Pilgrim via cfe-commits
@@ -8262,6 +8262,64 @@ SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, return SDValue(); } +SDValue TargetLowering::expandFMINIMUM_FMAXIMUM(SDNode *N, +SelectionDAG &DAG) const { + SDLoc DL(N); + SDValue LHS = N-

[clang-tools-extra] [llvm] [compiler-rt] [flang] [clang] [Legalizer] Expand fmaximum and fminimum (PR #67301)

2023-12-12 Thread Simon Pilgrim via cfe-commits
@@ -8262,6 +8262,64 @@ SDValue TargetLowering::expandFMINNUM_FMAXNUM(SDNode *Node, return SDValue(); } +SDValue TargetLowering::expandFMINIMUM_FMAXIMUM(SDNode *N, +SelectionDAG &DAG) const { + SDLoc DL(N); + SDValue LHS = N-

[compiler-rt] [clang] [llvm] [flang] [clang-tools-extra] [Legalizer] Expand fmaximum and fminimum (PR #67301)

2023-12-12 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon commented: Is there any existing vector test coverage? There don't seem to be any test changes for them. https://github.com/llvm/llvm-project/pull/67301 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang] [X86] Add ABI handling for __float128 (PR #75156)

2023-12-14 Thread Simon Pilgrim via cfe-commits
@@ -0,0 +1,35 @@ +// RUN: %clang_cc1 -triple x86_64-linux -emit-llvm -target-feature +sse2 < %s | FileCheck %s --check-prefixes=CHECK RKSimon wrote: Worth adding a non-SSE RUN? https://github.com/llvm/llvm-project/pull/75156 ___

[clang] [X86] Add ABI handling for __float128 (PR #75156)

2023-12-14 Thread Simon Pilgrim via cfe-commits
@@ -0,0 +1,35 @@ +// RUN: %clang_cc1 -triple x86_64-linux -emit-llvm -target-feature +sse2 < %s | FileCheck %s --check-prefixes=CHECK RKSimon wrote: If you're dealing with it soon then handling it in a followup sounds good to me https://github.com/llvm/llvm-pr

[clang] [X86] Emit Warnings for frontend options to enable knl/knm. (PR #75580)

2023-12-15 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: Why do you want to remove these? We don't support any of the more exotic behaviors of Xeon Phi, but removing a x86 cpu just because its EOL doesn't make sense to me. https://github.com/llvm/llvm-project/pull/75580 ___ cfe-commits maili

[clang] df3ddd7 - CGBuiltin - fix gcc Wunused-variable warning. NFC.

2023-12-18 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2023-12-18T11:51:24Z New Revision: df3ddd78f640ebec74151028d919904c6cf9ecdd URL: https://github.com/llvm/llvm-project/commit/df3ddd78f640ebec74151028d919904c6cf9ecdd DIFF: https://github.com/llvm/llvm-project/commit/df3ddd78f640ebec74151028d919904c6cf9ecdd.diff LOG:

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-19 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: @MaxEW707 If you pull out the adcintrin.h change into a separate PR we can fast track it as it should be done anyhow https://github.com/llvm/llvm-project/pull/75711 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang] [X86] Emit Warnings for frontend options to enable knl/knm. (PR #75580)

2023-12-19 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: Can you give me a better idea of the stages you intend to follow with this. The patch title suggests removing all KNL/KNM handling but the patch itself looks to be just about the KNL/KNM specific features. Removing the (incomplete) KNL/KNM specific features (ER/PF/etc) I don't t

[clang] [clang] Separate Intel ADC instrinsics from ADX intrinsics (PR #75992)

2023-12-20 Thread Simon Pilgrim via cfe-commits
@@ -14,9 +14,6 @@ #ifndef __ADXINTRIN_H #define __ADXINTRIN_H -/* Define the default attributes for the functions in this file. */ -#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__)) RKSimon wrote: (minor) You could put this back with

[llvm] [clang] [clang-tools-extra] [ISel] Add pattern matching for depositing subreg value (PR #75978)

2023-12-20 Thread Simon Pilgrim via cfe-commits
@@ -0,0 +1,93 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 +; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s --check-prefixes=I386 +; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-pref

[clang] [X86] Add ABI handling for __float128 (PR #75156)

2023-12-23 Thread Simon Pilgrim via cfe-commits
@@ -0,0 +1,35 @@ +// RUN: %clang_cc1 -triple x86_64-linux -emit-llvm -target-feature +sse2 < %s | FileCheck %s --check-prefixes=CHECK RKSimon wrote: OK - so we have test coverage for non-SSE cases already in the backend? https://github.com/llvm/llvm-project/pu

[libcxx] [flang] [clang] [clang-tools-extra] [compiler-rt] [llvm] [mlir] [polly] [lld] [CostModel][X86] Fix fpext conversion cost for 16 elements (PR #76278)

2023-12-28 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: I meant - llvm-mca currently says the throughput for skylake etc. is 3cy not 5cy - so do you know why the intel scheduler models are underestimating the throughput? https://github.com/llvm/llvm-project/pull/76278 ___ cfe-commits mailin

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -10895,6 +10899,138 @@ bool VectorExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } +static bool EvaluateVectorOrLValue(APValue &Result, EvalInfo &Info, +

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/76615 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -10895,6 +10899,138 @@ bool VectorExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } +static bool EvaluateVectorOrLValue(APValue &Result, EvalInfo &Info, +

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -10895,6 +10899,138 @@ bool VectorExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } +static bool EvaluateVectorOrLValue(APValue &Result, EvalInfo &Info, +

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -10895,6 +10899,138 @@ bool VectorExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } +static bool EvaluateVectorOrLValue(APValue &Result, EvalInfo &Info, +

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon commented: A few minors but a frontend specialist really needs to review this https://github.com/llvm/llvm-project/pull/76615 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -302,3 +302,64 @@ extern __typeof__(__builtin_expect(0, 0)) bi0; // Strings int array1[__builtin_strlen("ab\0cd")]; int array2[(sizeof(array1)/sizeof(int)) == 2? 1 : -1]; + +typedef double vector4double __attribute__((__vector_size__(32))); +typedef float vector4float __attr

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -10895,6 +10899,138 @@ bool VectorExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } +static bool EvaluateVectorOrLValue(APValue &Result, EvalInfo &Info, +

[clang] [clang] Constexpr for __builtin_shufflevector and __builtin_convertvector (PR #76615)

2024-01-01 Thread Simon Pilgrim via cfe-commits
@@ -302,3 +302,64 @@ extern __typeof__(__builtin_expect(0, 0)) bi0; // Strings int array1[__builtin_strlen("ab\0cd")]; int array2[(sizeof(array1)/sizeof(int)) == 2? 1 : -1]; + +typedef double vector4double __attribute__((__vector_size__(32))); +typedef float vector4float __attr

[clang] [X86] Emit Warnings for frontend options to enable knl/knm. (PR #75580)

2024-01-02 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: I think if we have an approach that allows people to emulate a very basic KNL/KNM implementation with the equivalent of "-march=x86-64-v3 -mavx512f -mavx512cd" then that would be sufficient. I do think we should be keeping -march/tune support though for the knl/knm cpu model nam

[polly] [clang] [llvm] [X86] Remove Intel Xeon Phi Supports. (PR #76383)

2024-01-02 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/76383 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [polly] [clang] [X86] Remove Intel Xeon Phi Supports. (PR #76383)

2024-01-02 Thread Simon Pilgrim via cfe-commits
@@ -159,8 +159,6 @@ #define bit_AVX512IFMA 0x0020 #define bit_CLFLUSHOPT 0x0080 #define bit_CLWB0x0100 -#define bit_AVX512PF0x0400 -#define bit_AVX512ER0x0800 RKSimon wrote: I'd probably keep these for future reference. h

<    1   2   3   4   5   6   7   8   9   10   >