[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/133054 >From b1619f7b2835acafb4d76e6a16e678b17ddbe8b3 Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Wed, 26 Mar 2025 04:38:48 -0700 Subject: [PATCH] [AArch64] Add FEAT_FPAC to Neoverse V2 This feature is sup

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer closed https://github.com/llvm/llvm-project/pull/133054 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
@@ -19,6 +19,7 @@ // CHECK-NEXT: FEAT_ETE Enable Embedded Trace Extension // CHECK-NEXT: FEAT_FCMA Enable Armv8.3-A Floating-point complex number support // CHECK-NEXT: FEAT

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
@@ -555,7 +555,8 @@ def TuneNeoverseV2 : SubtargetFeature<"neoversev2", "ARMProcFamily", "NeoverseV2 FeatureEnableSelectOptimize, FeatureUseFixedOverScalableIfEqualCost,

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/133054 >From 39ac7e676ced6be75d12adbae4644a232e471f6e Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Wed, 26 Mar 2025 04:38:48 -0700 Subject: [PATCH] [AArch64] Add FEAT_FPAC to Neoverse V2 This feature is sup

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/133054 >From e6af1a3ef41cce2a27b1f0719f58bf82ce55b0db Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Wed, 26 Mar 2025 01:38:46 -0700 Subject: [PATCH] [AArch64] Add FEAT_FPAC to Neoverse V2 This feature is sup

[clang] [llvm] [AArch64] Add FEAT_FPAC to Neoverse V2 (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer edited https://github.com/llvm/llvm-project/pull/133054 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Add FEAT_FPAC to Grace (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/133054 >From a65f5c9b7937b21bdf43dea532e951b3ce462ec5 Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Wed, 26 Mar 2025 01:38:46 -0700 Subject: [PATCH] [AArch64] Add FEAT_FPAC to Neoverse V2 This feature is sup

[clang] [llvm] [AArch64] Add FEAT_FPAC to Grace (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
@@ -1067,7 +1067,8 @@ def ProcessorFeatures { FeatureDotProd, FeatureFPARMv8, FeatureMatMulInt8, FeatureSSBS, FeatureCCIDX, FeatureJS, FeatureLSE, FeatureRAS, Featur

[clang] [llvm] [AArch64] Add FEAT_FPAC to Grace (PR #133054)

2025-03-26 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer created https://github.com/llvm/llvm-project/pull/133054 This feature is supported in Grace, but wasn't specified in the CPU definition. This is not important for codegen, but is good for completeness, and good for other tools that could query the CPU definition

[clang] [llvm] [AArch64] Add initial support for -mcpu=olympus. (PR #132368)

2025-03-24 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/132368 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Add initial support for -mcpu=olympus. (PR #132368)

2025-03-21 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: I don't think it is strictly necessary, but do we have a public NVIDIA announcement of this core? If so, a link to that would be nice to include in the description. Will take a look at the patch. https://github.com/llvm/llvm-project/pull/132368 ___

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-20 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer closed https://github.com/llvm/llvm-project/pull/127621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-20 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: Thanks for your reviews! I will make those changes before merging this. https://github.com/llvm/llvm-project/pull/127621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
@@ -1681,19 +1681,25 @@ for more details. permitted to produce more precise results than performing the same operations separately. - The C standard permits intermediate floating-point results within an + The C/C++ standard permits intermediate floating-point results

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
@@ -1681,19 +1681,25 @@ for more details. permitted to produce more precise results than performing the same operations separately. - The C standard permits intermediate floating-point results within an + The C/C++ standard permits intermediate floating-point results

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer commented: Thanks for the review. I have addressed the comments, I think. https://github.com/llvm/llvm-project/pull/127621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer edited https://github.com/llvm/llvm-project/pull/127621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/127621 >From d7483fc138c0834fbed84bb43521ce8caed84528 Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Tue, 18 Feb 2025 03:37:08 -0800 Subject: [PATCH] [Clang][doc] -ffp-contract options and standard compliance

[clang] [llvm] [AArch64] Add optional extensions enabled on Grace (PR #127620)

2025-02-19 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. LGTM, but worth looking at Dave's suggestion before merging this: > It currently uses a bit of a mixture of specifying features individually > (FeatureAES and FeatureSVEAES) and relying on the dependencies > (FeatureSVE2SHA3 will impl

[clang] [llvm] [AArch64] Add optional extensions enabled on Grace (PR #127620)

2025-02-18 Thread Sjoerd Meijer via cfe-commits
@@ -92,7 +92,7 @@ // COBALT-100: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "neoverse-n2" // RUN: %clang --target=aarch64 -mcpu=grace -### -c %s 2>&1 | FileCheck -check-prefix=GRACE %s -// GRACE: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "neoverse-v2" --

[clang] [llvm] [AArch64] Add optional extensions enabled on Grace (PR #127620)

2025-02-18 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer commented: It would be good to mention in the description: - that Grace is no longer an alias, but is a separate CPU definition. - which optional extensions are now enabled. https://github.com/llvm/llvm-project/pull/127620 ___

[clang] [llvm] [AArch64] Add optional extensions enabled on Grace (PR #127620)

2025-02-18 Thread Sjoerd Meijer via cfe-commits
@@ -92,7 +92,7 @@ // COBALT-100: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "neoverse-n2" // RUN: %clang --target=aarch64 -mcpu=grace -### -c %s 2>&1 | FileCheck -check-prefix=GRACE %s -// GRACE: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "neoverse-v2" --

[clang] [llvm] [AArch64] Add optional extensions enabled on Grace (PR #127620)

2025-02-18 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer edited https://github.com/llvm/llvm-project/pull/127620 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][doc] -ffp-contract options and standard compliance (PR #127621)

2025-02-18 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer created https://github.com/llvm/llvm-project/pull/127621 We had an internal discussion about -ffp-contract, how it compared to GCC which defaults to fast, and standard compliance. Looking at our docs, I think most information is there, but also thought it could

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-07 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: > This is a bit off topic, but do you have any opinion on adding a pragma for > interchange like other loop optimizations do? I think it can sometimes be > useful if we can enable/disable the interchange for each loop, but I think > there are a few things to consider if we

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-07 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer closed https://github.com/llvm/llvm-project/pull/125830 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-07 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/125830 >From 45aa8d52ef8391fd15d81fb55a39c34f5aec233b Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Thu, 6 Feb 2025 03:00:24 -0800 Subject: [PATCH] [Clang][Driver] Add an option to control loop-interchange T

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-06 Thread Sjoerd Meijer via cfe-commits
@@ -316,6 +312,7 @@ PipelineTuningOptions::PipelineTuningOptions() { LoopVectorization = true; SLPVectorization = false; LoopUnrolling = true; + LoopInterchange = false; sjoerdmeijer wrote: Good idea, that's now fixed. https://github.com/llvm/llvm-proj

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-06 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/125830 >From 1a655ebd2bb01f54af6c42a373fb19e91dc56e5a Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Thu, 6 Feb 2025 03:00:24 -0800 Subject: [PATCH] [Clang][Driver] Add an option to control loop-interchange T

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-06 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: > The other optimzation pass options (unrolll, vectorize, ...) are implemented > in `PipelineTuningOptions` and `CodeGenOptions.def`. Do it the same way? Thanks for the review and suggestion @Meinersbur, that's now implemented in the latest revision. https://github.com/ll

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-06 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/125830 >From 72c1ccc8cbe7fa9734496a2f9b79fb9f73f126ab Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Thu, 6 Feb 2025 03:00:24 -0800 Subject: [PATCH] [Clang][Driver] Add an option to control loop-interchange T

[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-06 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/125830 >From da944d743f9fb97ddb1a40f58d43b0262f58205a Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Thu, 6 Feb 2025 03:00:24 -0800 Subject: [PATCH] [Clang][Driver] Add an option to control loop-interchange T

[clang] [Clang][Driver] Add an option to control loop-interchange (PR #125830)

2025-02-05 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer created https://github.com/llvm/llvm-project/pull/125830 This introduces options `-floop-interchange` and `-fno-loop-interchange` to enable/disable the loop-interchange pass. This is part of the work that tries to get that pass enabled by default (#124911), wher

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-23 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: Forgot to add that a similar problems occur for another test in that same directory: `vmulh_lane_f16_1.c`. https://github.com/llvm/llvm-project/pull/120363 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llv

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-23 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: Hey @davemgreen, we are looking at a runtime failure in a test from the GCC test-suite: `./testsuite/gcc.target/aarch64/advsimd-intrinsics/vfmash_lane_f16_1.c` I think to reproduce this, this will work: clang vfmash_lane_f16_1.c -mcpu=neoverse-v2 -O0 -lm -o ./vfmash_la

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-20 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. Thanks, LGTM https://github.com/llvm/llvm-project/pull/120363 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-20 Thread Sjoerd Meijer via cfe-commits
@@ -9053,22 +9053,19 @@ class SIMDThreeSameVectorBF16MatrixMul let mayRaiseFPException = 1, Uses = [FPCR] in class SIMD_BFCVTN - : BaseSIMDMixedTwoVector<0, 0, 0b10, 0b10110, V128, V128, + : BaseSIMDMixedTwoVector<0, 0, 0b10, 0b10110, V128, V64, sjoerdmeijer

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-20 Thread Sjoerd Meijer via cfe-commits
@@ -4064,31 +4072,59 @@ static Value *upgradeX86IntrinsicCall(StringRef Name, CallBase *CI, Function *F, static Value *upgradeAArch64IntrinsicCall(StringRef Name, CallBase *CI, Function *F, IRBuilder<> &Builder) { - Intrinsic::ID New

[clang] [llvm] [AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (PR #120363)

2025-01-16 Thread Sjoerd Meijer via cfe-commits
@@ -323,9 +321,10 @@ bfloat16x8_t test_vcvtq_low_bf16_f32(float32x4_t a) { // CHECK-A64-NEXT: entry: // CHECK-A64-NEXT:[[TMP0:%.*]] = bitcast <8 x bfloat> [[INACTIVE:%.*]] to <16 x i8> // CHECK-A64-NEXT:[[TMP1:%.*]] = bitcast <4 x float> [[A:%.*]] to <16 x i8> -// CHE

[clang] [llvm] Reland [clang][AArch64] Add getHostCPUFeatures to query for enabled f… (PR #115467)

2024-11-11 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. Looks like a good fix to me. Please wait a day in case @davemgreen has comments, and it is better to commit in the morning anyway. :) For convenience, the diff with the previous version is this first line in the test: ``` // REQUIR

[clang] [llvm] Reland [clang][AArch64] Add getHostCPUFeatures to query for enabled f… (PR #115467)

2024-11-11 Thread Sjoerd Meijer via cfe-commits
@@ -210,6 +210,9 @@ def have_host_clang_repl_cuda(): config.substitutions.append(("%host_cc", config.host_cc)) config.substitutions.append(("%host_cxx", config.host_cxx)) +# Determine whether the test target is compatible with execution on the host. +if config.host_arch in con

[clang] [llvm] Reland [clang][AArch64] Add getHostCPUFeatures to query for enabled f… (PR #115467)

2024-11-11 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer edited https://github.com/llvm/llvm-project/pull/115467 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Ofast deprecation clarifications (PR #101005)

2024-08-02 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: > LGTM, let's go ahead and merge this and get it backported to 19.x, thank you! Thanks for your help with this. I am mostly unfamiliar with the release process. Do you know how we can achieve this? Do we suggest this commit to the release manager for a backport and cherry

[clang] Ofast deprecation clarifications (PR #101005)

2024-08-02 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer closed https://github.com/llvm/llvm-project/pull/101005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Ofast deprecation clarifications (PR #101005)

2024-08-01 Thread Sjoerd Meijer via cfe-commits
sjoerdmeijer wrote: @AaronBallman, shall we merge this? https://github.com/llvm/llvm-project/pull/101005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Ofast deprecation clarifications (PR #101005)

2024-07-29 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer updated https://github.com/llvm/llvm-project/pull/101005 >From 22f2e40c6d44c562e97162f04dee055a1be57460 Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Mon, 29 Jul 2024 19:31:18 +0530 Subject: [PATCH] Ofast documentation deprecation clarifications Following u

[clang] [compiler-rt] [flang] [libc] [libcxx] [libcxxabi] [lld] [llvm] Ofast deprecation clarifications (PR #101005)

2024-07-29 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer edited https://github.com/llvm/llvm-project/pull/101005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Add support for Arm Cortex A78AE CPU (PR #84485)

2024-03-08 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. Thanks for the quick fix. This looks okay to me. But let's see if @DavidSpickett has more comments before merging this. https://github.com/llvm/llvm-project/pull/84485 ___ cfe-commits maili

[clang] [flang] [llvm] [AArch64][Driver] Better handling of target feature dependencies (PR #78270)

2024-01-17 Thread Sjoerd Meijer via cfe-commits
https://github.com/sjoerdmeijer approved this pull request. This is a very big patch, but it makes a lot of sense. The idea to do it in this way is clearly an improvement. There are quite a number of (new) moving parts involved here, but look reasonable to me so let's give this is a try. Tha

[clang] 9bd2730 - [Clang][AArch64] Add TargetParser support for defining CPU aliases

2022-10-25 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2022-10-25T15:08:15+05:30 New Revision: 9bd273047d4f66e3f36416acb295a3fd75bc6af4 URL: https://github.com/llvm/llvm-project/commit/9bd273047d4f66e3f36416acb295a3fd75bc6af4 DIFF: https://github.com/llvm/llvm-project/commit/9bd273047d4f66e3f36416acb295a3fd75bc6af4.diff

[clang] 9ec7448 - [Clang][AArch64] Add support for -mcpu=grace

2022-10-24 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2022-10-24T17:36:24+05:30 New Revision: 9ec7448857c1bcbc9878e9912167d9453d3be673 URL: https://github.com/llvm/llvm-project/commit/9ec7448857c1bcbc9878e9912167d9453d3be673 DIFF: https://github.com/llvm/llvm-project/commit/9ec7448857c1bcbc9878e9912167d9453d3be673.diff

[clang] 260f90b - [AArch64] Add some missing Neoverse features

2021-02-19 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2021-02-19T09:18:35Z New Revision: 260f90bb3d1aef90764de3506f86dedd1339e37c URL: https://github.com/llvm/llvm-project/commit/260f90bb3d1aef90764de3506f86dedd1339e37c DIFF: https://github.com/llvm/llvm-project/commit/260f90bb3d1aef90764de3506f86dedd1339e37c.diff LOG:

[clang] 99ad078 - [AArch64] Cortex-R82: remove crypto

2020-12-10 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-12-10T12:54:51Z New Revision: 99ad078b91ed601cd19c75a44106a4f86bfa1a41 URL: https://github.com/llvm/llvm-project/commit/99ad078b91ed601cd19c75a44106a4f86bfa1a41 DIFF: https://github.com/llvm/llvm-project/commit/99ad078b91ed601cd19c75a44106a4f86bfa1a41.diff LOG:

[clang] 8825fec - [AArch64] Add CPU Cortex-R82

2020-10-02 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-10-02T12:47:23+01:00 New Revision: 8825fec37e73eea1bc3e4f5c125e1fd02d002d6c URL: https://github.com/llvm/llvm-project/commit/8825fec37e73eea1bc3e4f5c125e1fd02d002d6c DIFF: https://github.com/llvm/llvm-project/commit/8825fec37e73eea1bc3e4f5c125e1fd02d002d6c.diff

[clang] 5567c62 - [Matrix] Add LowerMatrixIntrinsics to the NPM

2020-07-22 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-22T09:47:53+01:00 New Revision: 5567c62afa559dc2f2604601ec9269f1e3fbfdab URL: https://github.com/llvm/llvm-project/commit/5567c62afa559dc2f2604601ec9269f1e3fbfdab DIFF: https://github.com/llvm/llvm-project/commit/5567c62afa559dc2f2604601ec9269f1e3fbfdab.diff

[clang] c2d69d8 - Remove clang matrix lowering test for now as it is still failing under the NPM.

2020-07-17 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-17T22:42:12+01:00 New Revision: c2d69d8d62f2aac941453177e2ae872f5f82feda URL: https://github.com/llvm/llvm-project/commit/c2d69d8d62f2aac941453177e2ae872f5f82feda DIFF: https://github.com/llvm/llvm-project/commit/c2d69d8d62f2aac941453177e2ae872f5f82feda.diff

[clang] 0160ad8 - And now really disable that test.

2020-07-16 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-16T16:14:47+01:00 New Revision: 0160ad802e899c2922bc9b29564080c22eb0908c URL: https://github.com/llvm/llvm-project/commit/0160ad802e899c2922bc9b29564080c22eb0908c DIFF: https://github.com/llvm/llvm-project/commit/0160ad802e899c2922bc9b29564080c22eb0908c.diff

[clang] 31248b4 - Last attempt for rG3a624c327add: one test fails with the NPM,

2020-07-16 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-16T16:12:47+01:00 New Revision: 31248b4785c14e50c1694fc986c69afcea64bd81 URL: https://github.com/llvm/llvm-project/commit/31248b4785c14e50c1694fc986c69afcea64bd81 DIFF: https://github.com/llvm/llvm-project/commit/31248b4785c14e50c1694fc986c69afcea64bd81.diff

[clang] a7a07a8 - Follow up of rG3a624c327add: pacify buildbot, add "REQUIRES: aarch64" to test

2020-07-16 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-16T15:38:36+01:00 New Revision: a7a07a8d63b2008750347932e351d479a45bfc2c URL: https://github.com/llvm/llvm-project/commit/a7a07a8d63b2008750347932e351d479a45bfc2c DIFF: https://github.com/llvm/llvm-project/commit/a7a07a8d63b2008750347932e351d479a45bfc2c.diff

[clang] 3a624c3 - [Matrix] Add the matrix test from D83570. NFC.

2020-07-16 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-07-16T15:19:45+01:00 New Revision: 3a624c327adde62d075a4477e9bb9e6a2c186731 URL: https://github.com/llvm/llvm-project/commit/3a624c327adde62d075a4477e9bb9e6a2c186731 DIFF: https://github.com/llvm/llvm-project/commit/3a624c327adde62d075a4477e9bb9e6a2c186731.diff

[clang] 35cf2f4 - [Driver][docs] Document option -mtune as a no-op.

2020-04-22 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-04-22T09:15:48+01:00 New Revision: 35cf2f42dda4d708741e06570b2dbe91cec4dc41 URL: https://github.com/llvm/llvm-project/commit/35cf2f42dda4d708741e06570b2dbe91cec4dc41 DIFF: https://github.com/llvm/llvm-project/commit/35cf2f42dda4d708741e06570b2dbe91cec4dc41.diff

[clang] e32f8ef - Follow up of 3d9a0445cce3, clang driver defaulting to -fno-common

2020-03-09 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-09T20:43:05Z New Revision: e32f8ef9277dbaaeef1fbabe9505683ff5e35edf URL: https://github.com/llvm/llvm-project/commit/e32f8ef9277dbaaeef1fbabe9505683ff5e35edf DIFF: https://github.com/llvm/llvm-project/commit/e32f8ef9277dbaaeef1fbabe9505683ff5e35edf.diff LOG:

[clang] 3d9a044 - Recommit #2 "[Driver] Default to -fno-common for all targets"

2020-03-09 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-09T19:57:03Z New Revision: 3d9a0445cce368b55dc3a573bc91fe902bbb977f URL: https://github.com/llvm/llvm-project/commit/3d9a0445cce368b55dc3a573bc91fe902bbb977f DIFF: https://github.com/llvm/llvm-project/commit/3d9a0445cce368b55dc3a573bc91fe902bbb977f.diff LOG:

[clang] f35d112 - Revert "Recommit "[Driver] Default to -fno-common for all targets""

2020-03-09 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-09T10:37:28Z New Revision: f35d112efdb33abee853aeab8a5ed4a4743e204d URL: https://github.com/llvm/llvm-project/commit/f35d112efdb33abee853aeab8a5ed4a4743e204d DIFF: https://github.com/llvm/llvm-project/commit/f35d112efdb33abee853aeab8a5ed4a4743e204d.diff LOG:

[clang] 2c36c23 - Recommit "[Driver] Default to -fno-common for all targets"

2020-03-09 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-09T10:07:37Z New Revision: 2c36c23f3476baf3b9283ea387c579419a70b112 URL: https://github.com/llvm/llvm-project/commit/2c36c23f3476baf3b9283ea387c579419a70b112 DIFF: https://github.com/llvm/llvm-project/commit/2c36c23f3476baf3b9283ea387c579419a70b112.diff LOG:

[clang] 4e36356 - Revert "[Driver] Default to -fno-common for all targets"

2020-03-03 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-03T10:00:36Z New Revision: 4e363563fa149321514389a031fa063e998d7422 URL: https://github.com/llvm/llvm-project/commit/4e363563fa149321514389a031fa063e998d7422 DIFF: https://github.com/llvm/llvm-project/commit/4e363563fa149321514389a031fa063e998d7422.diff LOG:

[clang] 0a9fc92 - [Driver] Default to -fno-common for all targets

2020-03-03 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2020-03-03T09:15:07Z New Revision: 0a9fc9233e172601e26381810d093e02ef410f65 URL: https://github.com/llvm/llvm-project/commit/0a9fc9233e172601e26381810d093e02ef410f65 DIFF: https://github.com/llvm/llvm-project/commit/0a9fc9233e172601e26381810d093e02ef410f65.diff LOG:

[clang] 0216854 - [Clang] Pragma vectorize_width() implies vectorize(enable)

2019-12-11 Thread Sjoerd Meijer via cfe-commits
Author: Sjoerd Meijer Date: 2019-12-11T10:37:40Z New Revision: 021685491727e023aeae9ca272a2d6cd727e20e4 URL: https://github.com/llvm/llvm-project/commit/021685491727e023aeae9ca272a2d6cd727e20e4 DIFF: https://github.com/llvm/llvm-project/commit/021685491727e023aeae9ca272a2d6cd727e20e4.diff LOG:

Re: r374288 - Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)"

2019-10-29 Thread Sjoerd Meijer via cfe-commits
Hi All, Apologies for the delay in responding, I was away from keyboard (llvm dev conf). This is a real funny patch! It is a (simple) fix that uncovers quite a few things. Anyway, thanks Michael for your analysis! As I will need to make some changes this time (this wasn't the case last time), I

r374756 - [docs] loop pragmas: options implying transformations

2019-10-14 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Mon Oct 14 00:40:36 2019 New Revision: 374756 URL: http://llvm.org/viewvc/llvm-project?rev=374756&view=rev Log: [docs] loop pragmas: options implying transformations Following our discussion on the cfe dev list: http://lists.llvm.org/pipermail/cfe-dev/2019-August/063054

r374288 - Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)"

2019-10-10 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Oct 10 01:27:14 2019 New Revision: 374288 URL: http://llvm.org/viewvc/llvm-project?rev=374288&view=rev Log: Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)" This was further discussed at the llvm dev list: http://lists.llvm.org/pipermail/llvm-d

Re: r372082 - [Clang] Pragma vectorize_width() implies vectorize(enable)

2019-09-18 Thread Sjoerd Meijer via cfe-commits
is in r372225 as it broke the Chromium build. It seems it doesn't actually manage to enable vectorization of a simple loop at -Oz, and at -Os it asserts. See details in my commit message. On Tue, Sep 17, 2019 at 10:41 AM Sjoerd Meijer via cfe-commits wrote: > > Author: sjoerdmeijer >

r372082 - [Clang] Pragma vectorize_width() implies vectorize(enable)

2019-09-17 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Tue Sep 17 01:43:11 2019 New Revision: 372082 URL: http://llvm.org/viewvc/llvm-project?rev=372082&view=rev Log: [Clang] Pragma vectorize_width() implies vectorize(enable) Specifying the vectorization width was supposed to implicitly enable vectorization, except that it

r368976 - [clang] Loop pragma parsing. NFC.

2019-08-15 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Aug 15 00:39:05 2019 New Revision: 368976 URL: http://llvm.org/viewvc/llvm-project?rev=368976&view=rev Log: [clang] Loop pragma parsing. NFC. Just a refactoring and a tidy up. Differential Revision: https://reviews.llvm.org/D64564 Modified: cfe/trunk/lib/Parse

r368970 - [Clang] Pragma vectorize_predicate implies vectorize

2019-08-14 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Aug 14 23:24:40 2019 New Revision: 368970 URL: http://llvm.org/viewvc/llvm-project?rev=368970&view=rev Log: [Clang] Pragma vectorize_predicate implies vectorize New pragma "vectorize_predicate(enable)" now implies "vectorize(enable)", and it is ignored when vectoriz

r366989 - [Clang] New loop pragma vectorize_predicate

2019-07-25 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Jul 25 00:33:13 2019 New Revision: 366989 URL: http://llvm.org/viewvc/llvm-project?rev=366989&view=rev Log: [Clang] New loop pragma vectorize_predicate This adds a new vectorize predication loop hint: #pragma clang loop vectorize_predicate(enable) that can be us

r366904 - Test commit. NFC.

2019-07-24 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Jul 24 06:30:36 2019 New Revision: 366904 URL: http://llvm.org/viewvc/llvm-project?rev=366904&view=rev Log: Test commit. NFC. Removed 2 trailing whitespaces in 2 files that used to be in different repos to test my new github monorepo workflow. Modified: cfe/tru

r365629 - Loop pragma parsing. NFC.

2019-07-10 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Jul 10 06:34:57 2019 New Revision: 365629 URL: http://llvm.org/viewvc/llvm-project?rev=365629&view=rev Log: Loop pragma parsing. NFC. I would like to add some pragma handling here, but couldn't resist a little NFC and tidy up first. Differential Revision: https://r

r362806 - [ARM] Add ACLE feature macros for MVE

2019-06-07 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Fri Jun 7 08:20:56 2019 New Revision: 362806 URL: http://llvm.org/viewvc/llvm-project?rev=362806&view=rev Log: [ARM] Add ACLE feature macros for MVE If MVE is present at all, then the macro __ARM_FEATURE_MVE is defined to a value which has bit 0 set for integer MVE, an

r362601 - [ARM] Allow "-march=foo+fp" to vary with foo

2019-06-05 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Jun 5 06:12:01 2019 New Revision: 362601 URL: http://llvm.org/viewvc/llvm-project?rev=362601&view=rev Log: [ARM] Allow "-march=foo+fp" to vary with foo Now, when clang processes an argument of the form "-march=foo+x+y+z", then instead of calling getArchExtFeature()

r362100 - Follow up of r362096

2019-05-30 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu May 30 08:04:06 2019 New Revision: 362100 URL: http://llvm.org/viewvc/llvm-project?rev=362100&view=rev Log: Follow up of r362096 The new tests were failing, because I missed dependent patch D60697. I have removed the failing cases for now, which I will restore once

r362096 - [ARM] Add CLI support for Armv8.1-M and MVE

2019-05-30 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu May 30 07:22:26 2019 New Revision: 362096 URL: http://llvm.org/viewvc/llvm-project?rev=362096&view=rev Log: [ARM] Add CLI support for Armv8.1-M and MVE Given the existing infrastructure in LLVM side for +fp and +fp.dp, this is more or less trivial, needing only one

r343758 - [AArch64][ARM] Context sensitive meaning of crypto

2018-10-04 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Oct 4 00:38:53 2018 New Revision: 343758 URL: http://llvm.org/viewvc/llvm-project?rev=343758&view=rev Log: [AArch64][ARM] Context sensitive meaning of crypto For AArch64, crypto means: - sm4 + sha3 + sha2 + aes for Armv8.4-A and up, and - sha2 + aes for Armv8.3-A a

r342862 - [ARM][AArch64] Add feature +fp16fml

2018-09-24 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Mon Sep 24 00:55:20 2018 New Revision: 342862 URL: http://llvm.org/viewvc/llvm-project?rev=342862&view=rev Log: [ARM][AArch64] Add feature +fp16fml Armv8.4-A adds a few FP16 instructions that can optionally be implemented in CPUs of Armv8.2-A and above. This patch adds

r339347 - [AArch64][NFC] better matching of AArch64 target in aarch64-cpus.c tests

2018-08-09 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Aug 9 07:07:27 2018 New Revision: 339347 URL: http://llvm.org/viewvc/llvm-project?rev=339347&view=rev Log: [AArch64][NFC] better matching of AArch64 target in aarch64-cpus.c tests Differential Revision: https://reviews.llvm.org/D50175 Modified: cfe/trunk/test/

r338525 - [AArch64][ARM] Add Armv8.4-A tests

2018-08-01 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Aug 1 05:41:10 2018 New Revision: 338525 URL: http://llvm.org/viewvc/llvm-project?rev=338525&view=rev Log: [AArch64][ARM] Add Armv8.4-A tests This adds tests for Armv8.4-A, and also some v8.2 and v8.3 tests that were missing. Differential Revision: https://reviews

r335111 - [SPIR] Prevent SPIR targets from using half conversion intrinsics

2018-06-20 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Jun 20 02:49:40 2018 New Revision: 335111 URL: http://llvm.org/viewvc/llvm-project?rev=335111&view=rev Log: [SPIR] Prevent SPIR targets from using half conversion intrinsics The SPIR target currently allows for half precision floating point types to be emitted using

r327836 - [ARM] Pass half or i16 types for NEON intrinsics

2018-03-19 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Mon Mar 19 06:22:49 2018 New Revision: 327836 URL: http://llvm.org/viewvc/llvm-project?rev=327836&view=rev Log: [ARM] Pass half or i16 types for NEON intrinsics For generating NEON intrinsics, this determines the NEON data type, and whether it should be a half type or a

r327623 - [AAch64] Tests for ACLE FP16 macros

2018-03-15 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Mar 15 06:36:30 2018 New Revision: 327623 URL: http://llvm.org/viewvc/llvm-project?rev=327623&view=rev Log: [AAch64] Tests for ACLE FP16 macros This adds some missing tests for the AArch64 FP16 macros. Differential Revision: https://reviews.llvm.org/D44512 Modifie

r327455 - [ARM] ACLE FP16 feature test macros

2018-03-13 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Tue Mar 13 15:11:06 2018 New Revision: 327455 URL: http://llvm.org/viewvc/llvm-project?rev=327455&view=rev Log: [ARM] ACLE FP16 feature test macros This is a partial recommit of r327189 that was reverted due to test issues. I.e., this recommits minimal functional change

r327437 - This reverts "r327189 - [ARM] Add ARMv8.2-A FP16 vector intrinsic"

2018-03-13 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Tue Mar 13 12:38:56 2018 New Revision: 327437 URL: http://llvm.org/viewvc/llvm-project?rev=327437&view=rev Log: This reverts "r327189 - [ARM] Add ARMv8.2-A FP16 vector intrinsic" This is causing problems in testing, and PR36683 was raised. Reverting it until we have sor

r325351 - [ARM] Add tests for the vcvtr builtins

2018-02-16 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Fri Feb 16 08:01:08 2018 New Revision: 325351 URL: http://llvm.org/viewvc/llvm-project?rev=325351&view=rev Log: [ARM] Add tests for the vcvtr builtins This adds Sema and Codegen tests for the vcvtr builtins (because they were missing). Differential Revision: https://re

r323185 - [ARM] Pass _Float16 as int or float

2018-01-23 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Tue Jan 23 02:13:49 2018 New Revision: 323185 URL: http://llvm.org/viewvc/llvm-project?rev=323185&view=rev Log: [ARM] Pass _Float16 as int or float Pass and return _Float16 as if it were an int or float for ARM, but with the top 16 bits unspecified, similarly like we al

r320019 - [ARM] ACLE parallel arithmetic and DSP style multiplications

2017-12-07 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Thu Dec 7 01:54:39 2017 New Revision: 320019 URL: http://llvm.org/viewvc/llvm-project?rev=320019&view=rev Log: [ARM] ACLE parallel arithmetic and DSP style multiplications This is a follow up of r302131, in which we forgot to add SemaChecking tests. Adding these tests

r317558 - [docs] Add section 'Half-Precision Floating Point'

2017-11-07 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Tue Nov 7 02:09:45 2017 New Revision: 317558 URL: http://llvm.org/viewvc/llvm-project?rev=317558&view=rev Log: [docs] Add section 'Half-Precision Floating Point' This documents the differences/interactions between _Float16 and __fp16 and is a companion change for the _

r313152 - This adds the _Float16 preprocessor macro definitions.

2017-09-13 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Wed Sep 13 08:23:19 2017 New Revision: 313152 URL: http://llvm.org/viewvc/llvm-project?rev=313152&view=rev Log: This adds the _Float16 preprocessor macro definitions. Differential Revision: https://reviews.llvm.org/D34695 Added: cfe/trunk/test/Headers/float16.c Mod

r312798 - Add _Float16 as a C/C++ source language type

2017-09-08 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Fri Sep 8 09:43:10 2017 New Revision: 312798 URL: http://llvm.org/viewvc/llvm-project?rev=312798&view=rev Log: Add _Float16 as a C/C++ source language type Pacify the windows builder; fixed the new test as on Windows some additional attributes are printed. Modified:

r312794 - Recommit "Add _Float16 as a C/C++ source language type"

2017-09-08 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Fri Sep 8 08:15:00 2017 New Revision: 312794 URL: http://llvm.org/viewvc/llvm-project?rev=312794&view=rev Log: Recommit "Add _Float16 as a C/C++ source language type" This is a recommit of r312781; in some build configurations variable names are omitted, so changed the

r312784 - Revert "Add _Float16 as a C/C++ source language type"

2017-09-08 Thread Sjoerd Meijer via cfe-commits
Author: sjoerdmeijer Date: Fri Sep 8 03:20:52 2017 New Revision: 312784 URL: http://llvm.org/viewvc/llvm-project?rev=312784&view=rev Log: Revert "Add _Float16 as a C/C++ source language type" The clang-with-lto-ubuntu bot didn't like the new regression test, revert while I investigate the issue.

  1   2   >