[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-04 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,94 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-04 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,94 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-04 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,94 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-04 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,93 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-03 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. LGTM. Thanks for the tweaks. As usual, probably best to give other reviewers a chance to comment too. https://github.com/llvm/llvm-project/pull/134098 ___ cfe-commits mailing list cfe-commits@

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-03 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,94 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-03 Thread Simon Tatham via cfe-commits
@@ -1,93 +1,94 @@ -// Test of the AArch32 values of -mtp=, checking that each one maps to -// the right target features. - -// RUN: %clang --target=armv7-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-HARD %s -// ARMv7_THREAD_POINTER-HARD

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-03 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm edited https://github.com/llvm/llvm-project/pull/134098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Arm] Add more -mtp=cp15 tests (PR #134098)

2025-04-03 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm commented: This certainly looks more organised than the previous version, but I have a few nitpicks in comments. https://github.com/llvm/llvm-project/pull/134098 ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

[clang] [clang] Fix darwin-related tests' REQUIRES annotation (PR #130138)

2025-03-15 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm commented: I've done as much of the review as I can. The syntax in the `REQUIRES` lines looks sensible to me, and I see why _most_ of these tests would depend on clang being configured to target its host Darwin platform by default: * `apple-arm64-arch.c`, `compila

[clang] [ARM] mtp = auto using hard point while arch supports thumb2 and hardtp (PR #130027)

2025-03-11 Thread Simon Tatham via cfe-commits
@@ -14,18 +14,18 @@ // RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER-TPIDRPRW %s // ARMv7_THREAD_POINTER-TPIDRPRW: "-target-feature" "+read-tp-tpidrprw" -// RUN: %clang --target=armv6t2-linux -mtp=cp15 -### -S %s 2>&1 | \ -// RUN: FileCheck -check-prefix=ARM_THREAD_POINTER

[clang] [ARM] mtp = auto using hard point while arch supports thumb2 and hardtp (PR #130027)

2025-03-10 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. Thanks for the extra test. LGTM now. https://github.com/llvm/llvm-project/pull/130027 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe

[clang] [clang] Fix darwin-related tests' REQUIRES annotation (PR #130138)

2025-03-10 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm edited https://github.com/llvm/llvm-project/pull/130138 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ARM] Introduce -mtp=auto and make it the default (PR #128728)

2025-02-26 Thread Simon Tatham via cfe-commits
statham-arm wrote: > It is fine to add `fixes https://github.com/llvm/llvm-project/issues/123864` > to the Description so that the issue is automatically closed. Yes, good point! When I suggested an improved description, I left out that part, which is the one thing @Zhenhang1213 _didn't_ forge

[clang] [ARM] Aligned mtp behavior and gcc (PR #128728)

2025-02-26 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm edited https://github.com/llvm/llvm-project/pull/128728 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ARM] Aligned mtp behavior and gcc (PR #128728)

2025-02-26 Thread Simon Tatham via cfe-commits
@@ -42,4 +42,8 @@ // RUN: %clang --target=armv7-linux -### -S %s 2>&1 | \ // RUN: FileCheck -check-prefix=ARMv7_THREAD_POINTER_NON %s -// ARMv7_THREAD_POINTER_NON-NOT: "-target-feature" "+read-tp-tpidruro" +// ARMv7_THREAD_POINTER_NON: "-target-feature" "+read-tp-tpidruro" ---

[clang] [ARM] Aligned mtp behavior and gcc (PR #128728)

2025-02-26 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm commented: Would it be possible to modify the description of this PR so that it generates a commit message that explains the change on its own, without having to refer to a Github ticket containing a discussion? If I were writing this change, I'd write a commit m

[clang] [llvm] [ARM] Fix instruction selection for MVE vsbciq intrinsic (PR #118284)

2024-12-05 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. https://github.com/llvm/llvm-project/pull/118284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [ARM] Fix operand order for MVE predicated VFMAS (PR #115908)

2024-11-13 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. LGTM. I suppose the error wouldn't have shown up if you did the simplest possible end-to-end test along the lines of ```c float32x4_t foo(float32x4_t a, float32x4_t b, float32_t c, mve_pred16_t p) { return vfmasq_m(a, b, c, p); } ``` b

[clang] [Multilib] Custom flags YAML parsing (PR #110657)

2024-11-04 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. https://github.com/llvm/llvm-project/pull/110657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Multilib] Custom flags YAML parsing (PR #110657)

2024-10-28 Thread Simon Tatham via cfe-commits
@@ -259,11 +266,69 @@ template <> struct llvm::yaml::MappingTraits { } }; +template <> +struct llvm::yaml::MappingContextTraits> { + static void mapping(llvm::yaml::IO &io, custom_flag::CustomFlagValueDetail &V, + llvm::SmallSet &) { +io.mapRequir

[clang] [Multilib] Custom flags YAML parsing (PR #110657)

2024-10-28 Thread Simon Tatham via cfe-commits
@@ -101,6 +101,25 @@ class Multilib { raw_ostream &operator<<(raw_ostream &OS, const Multilib &M); +namespace custom_flag { +struct CustomFlagDeclaration; +using CustomFlagDeclarationPtr = std::shared_ptr; + +struct CustomFlagValueDetail { + std::string Name; + std::optiona

[clang] [Multilib] Custom flags YAML parsing (PR #110657)

2024-10-28 Thread Simon Tatham via cfe-commits
@@ -101,6 +101,25 @@ class Multilib { raw_ostream &operator<<(raw_ostream &OS, const Multilib &M); +namespace custom_flag { +struct CustomFlagDeclaration; statham-arm wrote: Seems a bit verbose to me: all references to these types end up looking like `custo

[clang] [llvm] [ARM] Fix musttail calls (PR #109943)

2024-10-24 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. LGTM. Especially convenient to have all the patches split apart from each other like that – it made them much easier to read! https://github.com/llvm/llvm-project/pull/109943 ___ cfe-commits m

[clang] Multilib error fixes (PR #110804)

2024-10-07 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/110804 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 5a9e93f - [clang][Driver] Improve multilib custom error reporting (#110804)

2024-10-07 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2024-10-07T09:32:12+01:00 New Revision: 5a9e93f39cc78276a12852bbc4d639689fe73d5a URL: https://github.com/llvm/llvm-project/commit/5a9e93f39cc78276a12852bbc4d639689fe73d5a DIFF: https://github.com/llvm/llvm-project/commit/5a9e93f39cc78276a12852bbc4d639689fe73d5a.diff

[clang] e0df221 - [clang][Driver] Rename "FatalError" key to "Error" in multilib.yaml (#110804)

2024-10-07 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2024-10-07T09:32:06+01:00 New Revision: e0df221dcf5696c6e99952ee62a3b3b689433f3b URL: https://github.com/llvm/llvm-project/commit/e0df221dcf5696c6e99952ee62a3b3b689433f3b DIFF: https://github.com/llvm/llvm-project/commit/e0df221dcf5696c6e99952ee62a3b3b689433f3b.diff

[clang] Multilib error fixes (PR #110804)

2024-10-03 Thread Simon Tatham via cfe-commits
@@ -217,15 +215,15 @@ struct MultilibSetSerialization { template <> struct llvm::yaml::MappingTraits { static void mapping(llvm::yaml::IO &io, MultilibSerialization &V) { io.mapOptional("Dir", V.Dir); -io.mapOptional("FatalError", V.FatalError); +io.mapOptional("E

[clang] Multilib error fixes (PR #110804)

2024-10-03 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/110804 >From 531253ab8c33cc69a927b28a1608675cd9ef709c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Sep 2024 16:12:00 +0100 Subject: [PATCH 1/4] [clang][Driver] Rename "FatalError" key to "Error" in mu

[clang] Multilib error fixes (PR #110804)

2024-10-02 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/110804 >From 531253ab8c33cc69a927b28a1608675cd9ef709c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Sep 2024 16:12:00 +0100 Subject: [PATCH 1/3] [clang][Driver] Rename "FatalError" key to "Error" in mu

[clang] Multilib error fixes (PR #110804)

2024-10-02 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/110804 >From 531253ab8c33cc69a927b28a1608675cd9ef709c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Sep 2024 16:12:00 +0100 Subject: [PATCH 1/2] [clang][Driver] Rename "FatalError" key to "Error" in mu

[clang] Multilib error fixes (PR #110804)

2024-10-02 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm created https://github.com/llvm/llvm-project/pull/110804 This PR contains two separate patches updating the "custom error message" feature in `multilib.yaml` (#105684): * Change the YAML keyword `FatalError` to `Error`, as @petrhosek requested after the previous

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-09-05 Thread Simon Tatham via cfe-commits
statham-arm wrote: To be clear, are you asking _me_ to make a followup PR to change that identifier in this already-landed patch, or are you going to do it? (Just to avoid the situation where both of us do it, or both of us think the other is going to) https://github.com/llvm/llvm-project/pul

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-09-02 Thread Simon Tatham via cfe-commits
statham-arm wrote: For the record, that also looks spurious: again it's completely unrelated to this patch, and also, [build 4752](https://lab.llvm.org/buildbot/#/builders/123/builds/4752) of the same buildbot failed in the same way, two commits earlier. It looks more likely that that test is

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-09-02 Thread Simon Tatham via cfe-commits
statham-arm wrote: There are two failed CI checks here, but they both seem to be complaining about a libc++ test called `pstl.merge.pass.cpp`, which is surely completely unrelated to this clang driver change specific to bare-metal multilib setups. https://github.com/llvm/llvm-project/pull/1056

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-09-02 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/105684 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-08-27 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/105684 >From 806ac0bee0478fda32ec0bf5bfb9e28e1bef618d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 21 Aug 2024 15:50:32 +0100 Subject: [PATCH 1/3] [clang][Driver] Add a custom error option in multilib.ya

[clang] [clang][Driver] Add a custom error option in multilib.yaml. (PR #105684)

2024-08-22 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm created https://github.com/llvm/llvm-project/pull/105684 Sometimes a collection of multilibs has a gap in it, where a set of driver command-line options can't work with any of the available libraries. For example, the Arm MVE extension requires special startup co

[clang] [ARM] Enable cfi-icall for thumb triples (PR #102126)

2024-08-06 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. https://github.com/llvm/llvm-project/pull/102126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-17 Thread Simon Tatham via cfe-commits
statham-arm wrote: @asmok-g , I'm confused. This commit doesn't have anything to do with the processing of `-W` options on the clang command line. Are you sure you've commented on the right PR? If you have, can you provide a full example command line? What was the behaviour before, and what is

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-11 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/97827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-08 Thread Simon Tatham via cfe-commits
@@ -0,0 +1,4 @@ +// RUN: %clang --target=aarch64-none-elf -march=armv8.9-a+rcpc3 -print-multi-flags-experimental -c %s 2>&1 | FileCheck %s + +// CHECK: -march=armv8.9-a +// CHECK-SAME: +rcpc+rcpc3+ statham-arm wrote: Done. I wasn't sure whether it would need to

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-08 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/97827 >From 81d77bf87dd47684683492ab70cc45ab6eb4364e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 5 Jul 2024 11:57:19 +0100 Subject: [PATCH 1/2] [Clang][Driver] Skip empty strings in getAArch64MultilibFl

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-05 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/97827 >From 81d77bf87dd47684683492ab70cc45ab6eb4364e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 5 Jul 2024 11:57:19 +0100 Subject: [PATCH] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags

[clang] [Clang][Driver] Skip empty strings in getAArch64MultilibFlags (PR #97827)

2024-07-05 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm created https://github.com/llvm/llvm-project/pull/97827 In a multilib setting, if you compile with a command line such as `clang --target=aarch64-none-elf -march=armv8.9-a+rcpc3`, `getAArch64MultilibFlags` returns an ill-formed string containing two consecutive `

[clang] [llvm] Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (PR #84559)

2024-06-14 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/84559 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (PR #84559)

2024-06-14 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/84559 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Modules] No transitive source location change (PR #86912)

2024-04-02 Thread Simon Tatham via cfe-commits
statham-arm wrote: > Let's see if @statham-arm (who introduced the `SourceLocation::[U]IntTy` > typedefs) wants to weight in here. I'm afraid my knowledge of C++ modules is very close to zero. They were mentioned in a training course I did last year, but not in much detail. On 64-bit SourceLo

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-12-01 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/69447 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-12-01 Thread Simon Tatham via cfe-commits
statham-arm wrote: (This final force-push is the squashed version of the previous stack, rebased to the current head of `main`, so that the builder can run a last test. Thanks both for the approvals; I'll merge it once the tests have finished.) https://github.com/llvm/llvm-project/pull/69447 _

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-12-01 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 1140903195e555643ee1a6b9f671b47b0c307f9e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH] [Driver] Add ExclusiveGroup feature to multilib.yaml. This al

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-12-01 Thread Simon Tatham via cfe-commits
@@ -138,10 +164,34 @@ static const VersionTuple MultilibVersionCurrent(1, 0); struct MultilibSerialization { std::string Dir; std::vector Flags; + std::string Group; +}; + +struct MultilibGroupSerialization { + /* + * Future directions: + * + * If it's needed in fut

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-16 Thread Simon Tatham via cfe-commits
statham-arm wrote: (btw, that `squash!` commit contains the revised commit message I plan to put on the final version, so I need to not forget to do the squash by hand to get that right) https://github.com/llvm/llvm-project/pull/69447 ___ cfe-commits

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-16 Thread Simon Tatham via cfe-commits
statham-arm wrote: OK, here's a version with the syntax that way. I've added another test to demonstrate the new error checks. The implementation of exclusion is still done by having an `ExclusiveGroup` field in the actual `Multilib` class. Implementing mutually-dependent groups or nested gro

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-16 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 2a65ae75e8c8e62e7275a439849837919599e896 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH 1/4] [Driver] Add ExclusiveGroup feature to multilib.yaml. Thi

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-14 Thread Simon Tatham via cfe-commits
statham-arm wrote: > my only concern is to make sure we don't unintentionally make it harder to > integrate potential future extensions such as the mutually dependent groups. Hmmm. So if you had both ME and MD groups, you might also need a _group_ to be able to be a member of another group? Th

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-06 Thread Simon Tatham via cfe-commits
statham-arm wrote: @petrhosek, do you have any further comments? I'll merge this change based on @MaskRay's approval if I haven't heard back in another week. https://github.com/llvm/llvm-project/pull/69447 ___ cfe-commits mailing list cfe-commits@list

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-30 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm edited https://github.com/llvm/llvm-project/pull/69447 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-30 Thread Simon Tatham via cfe-commits
@@ -96,13 +97,39 @@ bool MultilibSet::select(const Multilib::flags_list &Flags, llvm::SmallVector &Selected) const { llvm::StringSet<> FlagSet(expandFlags(Flags)); Selected.clear(); - llvm::copy_if(Multilibs, std::back_inserter(Selected), -

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-30 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 2a65ae75e8c8e62e7275a439849837919599e896 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH 1/3] [Driver] Add ExclusiveGroup feature to multilib.yaml. Thi

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-27 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 2a65ae75e8c8e62e7275a439849837919599e896 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH 1/2] [Driver] Add ExclusiveGroup feature to multilib.yaml. Thi

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-27 Thread Simon Tatham via cfe-commits
@@ -152,6 +180,7 @@ template <> struct llvm::yaml::MappingTraits { static void mapping(llvm::yaml::IO &io, MultilibSerialization &V) { io.mapRequired("Dir", V.Dir); io.mapRequired("Flags", V.Flags); +io.mapOptional("ExclusiveGroup", V.ExclusiveGroup); ---

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-27 Thread Simon Tatham via cfe-commits
@@ -0,0 +1,69 @@ +# REQUIRES: shell +# UNSUPPORTED: system-windows + +# RUN: rm -rf %t + +# RUN: mkdir -p %t/baremetal_multilib/bin +# RUN: ln -s %clang %t/baremetal_multilib/bin/clang + +# RUN: mkdir -p %t/baremetal_multilib/lib/clang-runtimes +# RUN: ln -s %s %t/baremetal_multil

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-27 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 2a65ae75e8c8e62e7275a439849837919599e896 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH 1/2] [Driver] Add ExclusiveGroup feature to multilib.yaml. Thi

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-25 Thread Simon Tatham via cfe-commits
@@ -152,6 +180,7 @@ template <> struct llvm::yaml::MappingTraits { static void mapping(llvm::yaml::IO &io, MultilibSerialization &V) { io.mapRequired("Dir", V.Dir); io.mapRequired("Flags", V.Flags); +io.mapOptional("ExclusiveGroup", V.ExclusiveGroup); ---

[clang] [Driver] Add `--` to some test clang-cl command lines. (PR #70055)

2023-10-25 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm closed https://github.com/llvm/llvm-project/pull/70055 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Add `--` to some test clang-cl command lines. (PR #70055)

2023-10-24 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/70055 >From 029eecc71b94130bb6d058c9f9d0779e32cd45f1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 24 Oct 2023 15:52:38 +0100 Subject: [PATCH] [Driver] Add `--` to some test clang-cl command lines. If cla

[clang] Let clang-cl support CUDA/HIP (PR #68921)

2023-10-24 Thread Simon Tatham via cfe-commits
statham-arm wrote: @yxsamliu I've just raised https://github.com/llvm/llvm-project/pull/70055 which fixes an issue with the new test here. Perhaps it might also allow you to remove the exclusion for `system-darwin`? https://github.com/llvm/llvm-project/pull/68921 __

[clang] [Driver] Add `--` to some test clang-cl command lines. (PR #70055)

2023-10-24 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm created https://github.com/llvm/llvm-project/pull/70055 If clang/test/Driver/cl-offload.cu is run on Unix in a directory whose absolute pathname starts with `/w`, such as the `/workspace` used by at least some Jenkins CI setups, then the file name on the clang co

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-24 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 2a65ae75e8c8e62e7275a439849837919599e896 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH] [Driver] Add ExclusiveGroup feature to multilib.yaml. This al

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-24 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From e4d860c2968e4bf2e0ca198bdfe00dad4e985d40 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH] [Driver] Add ExclusiveGroup feature to multilib.yaml. This al

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-18 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/69447 >From 3a0481134343339ce8132419fde875ac9977b734 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 14 Sep 2023 14:51:17 +0100 Subject: [PATCH] [Driver] Add ExclusiveGroup feature to multilib.yaml. This al

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-10-18 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm created https://github.com/llvm/llvm-project/pull/69447 This allows a YAML-based multilib configuration to specify explicitly that a subset of its library directories are alternatives to each other, i.e. at most one of that subset should be selected. So if you h

[clang] 10e4228 - [ARM,AArch64] Add a full set of -mtp= options.

2023-06-15 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2023-06-15T09:27:41+01:00 New Revision: 10e42281144ecca019764b554f3f0f709bba0f71 URL: https://github.com/llvm/llvm-project/commit/10e42281144ecca019764b554f3f0f709bba0f71 DIFF: https://github.com/llvm/llvm-project/commit/10e42281144ecca019764b554f3f0f709bba0f71.diff

[clang] 20d6dee - -fsanitize=function: fix alignment fault on Arm targets.

2023-05-25 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2023-05-25T09:22:45+01:00 New Revision: 20d6dee40d507d467d3312d5e7dfdf088f106d31 URL: https://github.com/llvm/llvm-project/commit/20d6dee40d507d467d3312d5e7dfdf088f106d31 DIFF: https://github.com/llvm/llvm-project/commit/20d6dee40d507d467d3312d5e7dfdf088f106d31.diff

[clang] 5fba4c4 - [AArch64] Don't #define __ARM_FP when there's no FPU.

2023-03-13 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2023-03-13T16:43:25Z New Revision: 5fba4c4d08bdb38d0df2fd43afa4bec4f3809b66 URL: https://github.com/llvm/llvm-project/commit/5fba4c4d08bdb38d0df2fd43afa4bec4f3809b66 DIFF: https://github.com/llvm/llvm-project/commit/5fba4c4d08bdb38d0df2fd43afa4bec4f3809b66.diff LOG:

[clang] 60ea6f3 - [ARM] Allow selecting hard-float ABI in integer-only MVE.

2023-02-01 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2023-02-01T09:05:12Z New Revision: 60ea6f35a270d11c91770a2fc366888e7d3859f4 URL: https://github.com/llvm/llvm-project/commit/60ea6f35a270d11c91770a2fc366888e7d3859f4 DIFF: https://github.com/llvm/llvm-project/commit/60ea6f35a270d11c91770a2fc366888e7d3859f4.diff LOG:

[libunwind] 43c84e4 - [libunwind, EHABI, ARM] Fix get/set of RA_AUTH_CODE.

2022-06-27 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2022-06-27T09:36:21+01:00 New Revision: 43c84e463426ca35fe9fc2d38063d75fed944f23 URL: https://github.com/llvm/llvm-project/commit/43c84e463426ca35fe9fc2d38063d75fed944f23 DIFF: https://github.com/llvm/llvm-project/commit/43c84e463426ca35fe9fc2d38063d75fed944f23.diff

[clang] 9073b53 - [Clang,ARM] Add release note for D127197.

2022-06-10 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2022-06-10T15:19:33+01:00 New Revision: 9073b53e5d7f0bdc603a5c816300ac27644bc6a8 URL: https://github.com/llvm/llvm-project/commit/9073b53e5d7f0bdc603a5c816300ac27644bc6a8 DIFF: https://github.com/llvm/llvm-project/commit/9073b53e5d7f0bdc603a5c816300ac27644bc6a8.diff

[clang] ceb21fa - [ARM] Fix how size-0 bitfields affect homogeneous aggregates.

2022-06-10 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2022-06-10T11:27:24+01:00 New Revision: ceb21fa4e49ddc8478371b41250f206082c5c67e URL: https://github.com/llvm/llvm-project/commit/ceb21fa4e49ddc8478371b41250f206082c5c67e DIFF: https://github.com/llvm/llvm-project/commit/ceb21fa4e49ddc8478371b41250f206082c5c67e.diff

[clang] bd41136 - [clang] Use i64 for the !srcloc metadata on asm IR nodes.

2021-07-22 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-07-22T10:24:52+01:00 New Revision: bd41136746a0b47882914cee5a8d1ac6714288d1 URL: https://github.com/llvm/llvm-project/commit/bd41136746a0b47882914cee5a8d1ac6714288d1 DIFF: https://github.com/llvm/llvm-project/commit/bd41136746a0b47882914cee5a8d1ac6714288d1.diff

[clang] 21401a7 - [clang] Introduce SourceLocation::[U]IntTy typedefs.

2021-07-21 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-07-21T10:45:46+01:00 New Revision: 21401a72629cc591bab7ec6816f03e6c550f3fb3 URL: https://github.com/llvm/llvm-project/commit/21401a72629cc591bab7ec6816f03e6c550f3fb3 DIFF: https://github.com/llvm/llvm-project/commit/21401a72629cc591bab7ec6816f03e6c550f3fb3.diff

[clang] cef56d5 - [clang] Change set type used for SourceLocation.

2021-07-19 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-07-19T13:36:36+01:00 New Revision: cef56d58dbbb3bc993531c14af5e3edd2841029d URL: https://github.com/llvm/llvm-project/commit/cef56d58dbbb3bc993531c14af5e3edd2841029d DIFF: https://github.com/llvm/llvm-project/commit/cef56d58dbbb3bc993531c14af5e3edd2841029d.diff

[clang] e49985b - Remove unused parameter from parseMSInlineAsm.

2021-07-12 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-07-12T15:07:03+01:00 New Revision: e49985bb6065d4f5ea69fe578e326ec6d43a6b24 URL: https://github.com/llvm/llvm-project/commit/e49985bb6065d4f5ea69fe578e326ec6d43a6b24 DIFF: https://github.com/llvm/llvm-project/commit/e49985bb6065d4f5ea69fe578e326ec6d43a6b24.diff

[clang] fd569a1 - [libclang] Fix error handler in translateSourceLocation.

2021-06-18 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-06-18T13:43:14+01:00 New Revision: fd569a11b585d13cdceac2d890c2beda0fa5f0eb URL: https://github.com/llvm/llvm-project/commit/fd569a11b585d13cdceac2d890c2beda0fa5f0eb DIFF: https://github.com/llvm/llvm-project/commit/fd569a11b585d13cdceac2d890c2beda0fa5f0eb.diff

[clang] 77e170d - [ARM][Driver][Windows] Allow command-line upgrade to Armv8.

2021-04-21 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2021-04-21T11:20:05+01:00 New Revision: 77e170db8678e582af986ffe27e12df196e4357b URL: https://github.com/llvm/llvm-project/commit/77e170db8678e582af986ffe27e12df196e4357b DIFF: https://github.com/llvm/llvm-project/commit/77e170db8678e582af986ffe27e12df196e4357b.diff

[clang] 1d78294 - [Sema][BFloat] Forbid arithmetic on vectors of bfloat.

2020-08-07 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-08-07T11:25:19+01:00 New Revision: 1d782942500b2cbc9765ccf16264bb498850cefb URL: https://github.com/llvm/llvm-project/commit/1d782942500b2cbc9765ccf16264bb498850cefb DIFF: https://github.com/llvm/llvm-project/commit/1d782942500b2cbc9765ccf16264bb498850cefb.diff

[clang] ed0e4c7 - [clang][ARM] Add name-mangling test for direct __fp16 arguments.

2020-08-03 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-08-03T13:30:50+01:00 New Revision: ed0e4c70c99d3afd87fb202ab03bda40512677e7 URL: https://github.com/llvm/llvm-project/commit/ed0e4c70c99d3afd87fb202ab03bda40512677e7 DIFF: https://github.com/llvm/llvm-project/commit/ed0e4c70c99d3afd87fb202ab03bda40512677e7.diff

[clang] 9e6f19f - Fix missing build dependency on omp_gen.

2020-07-02 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-07-02T09:16:15+01:00 New Revision: 9e6f19fd8390d39a0351941da1582f888d18c369 URL: https://github.com/llvm/llvm-project/commit/9e6f19fd8390d39a0351941da1582f888d18c369 DIFF: https://github.com/llvm/llvm-project/commit/9e6f19fd8390d39a0351941da1582f888d18c369.diff

[clang] 8f1651c - [ARM, MVE] Add missing tests for vqdmlash intrinsics.

2020-03-25 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-25T09:46:16Z New Revision: 8f1651ccead149fbd2e6fe692fb8a7f787a222bd URL: https://github.com/llvm/llvm-project/commit/8f1651ccead149fbd2e6fe692fb8a7f787a222bd DIFF: https://github.com/llvm/llvm-project/commit/8f1651ccead149fbd2e6fe692fb8a7f787a222bd.diff LOG:

[clang] f282b6a - [ReleaseNotes, ARM] MVE intrinsics are all implemented!

2020-03-24 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-24T11:42:25Z New Revision: f282b6ab23a0f6ede0f1c8b6ccb5ad3c17a5ed2f URL: https://github.com/llvm/llvm-project/commit/f282b6ab23a0f6ede0f1c8b6ccb5ad3c17a5ed2f DIFF: https://github.com/llvm/llvm-project/commit/f282b6ab23a0f6ede0f1c8b6ccb5ad3c17a5ed2f.diff LOG:

[clang] 1adfa4c - [ARM, MVE] Add ACLE intrinsics for the vaddv/vaddlv family.

2020-03-20 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-20T15:42:33Z New Revision: 1adfa4c99169733dedb67b4f7ab03d2fbb196162 URL: https://github.com/llvm/llvm-project/commit/1adfa4c99169733dedb67b4f7ab03d2fbb196162 DIFF: https://github.com/llvm/llvm-project/commit/1adfa4c99169733dedb67b4f7ab03d2fbb196162.diff LOG:

[clang] 45a9945 - [ARM, MVE] Add ACLE intrinsics for the vminv/vmaxv family.

2020-03-20 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-20T15:42:33Z New Revision: 45a9945b9ea95bd065d3c4e08d9089a309b24a23 URL: https://github.com/llvm/llvm-project/commit/45a9945b9ea95bd065d3c4e08d9089a309b24a23 DIFF: https://github.com/llvm/llvm-project/commit/45a9945b9ea95bd065d3c4e08d9089a309b24a23.diff LOG:

[clang] e13d153 - [ARM,MVE] Add intrinsics for the VQDMLAD family.

2020-03-18 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-18T17:11:22Z New Revision: e13d153c1b59a11185bf6a1aa8853c9e14d556a5 URL: https://github.com/llvm/llvm-project/commit/e13d153c1b59a11185bf6a1aa8853c9e14d556a5 DIFF: https://github.com/llvm/llvm-project/commit/e13d153c1b59a11185bf6a1aa8853c9e14d556a5.diff LOG:

[clang] 928776d - [ARM,MVE] Add intrinsics for the VQDMLAH family.

2020-03-18 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-18T10:55:04Z New Revision: 928776de9233be1487c1b56f90c90ed25b25e355 URL: https://github.com/llvm/llvm-project/commit/928776de9233be1487c1b56f90c90ed25b25e355 DIFF: https://github.com/llvm/llvm-project/commit/928776de9233be1487c1b56f90c90ed25b25e355.diff LOG:

[clang] 28c5d97 - [ARM, MVE] Add intrinsics and isel for MVE integer VMLA.

2020-03-18 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-18T10:55:04Z New Revision: 28c5d97beec7a2582869f992f54a178c805e2e51 URL: https://github.com/llvm/llvm-project/commit/28c5d97beec7a2582869f992f54a178c805e2e51 DIFF: https://github.com/llvm/llvm-project/commit/28c5d97beec7a2582869f992f54a178c805e2e51.diff LOG:

[clang] 3f8e714 - [ARM,MVE] Add intrinsics and isel for MVE fused multiply-add.

2020-03-12 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-12T11:13:50Z New Revision: 3f8e714e2f9f2dc3367d2f3fc569abfaf28f314c URL: https://github.com/llvm/llvm-project/commit/3f8e714e2f9f2dc3367d2f3fc569abfaf28f314c DIFF: https://github.com/llvm/llvm-project/commit/3f8e714e2f9f2dc3367d2f3fc569abfaf28f314c.diff LOG:

[clang] d608fee - [ARM, MVE] Fix user-namespace violation in arm_mve.h.

2020-03-12 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-12T11:13:50Z New Revision: d608fee8399a9fa6f2819076131c6ac30cc16eef URL: https://github.com/llvm/llvm-project/commit/d608fee8399a9fa6f2819076131c6ac30cc16eef DIFF: https://github.com/llvm/llvm-project/commit/d608fee8399a9fa6f2819076131c6ac30cc16eef.diff LOG:

[clang] 068b2f3 - [ARM,MVE] Add the `vshlcq` intrinsics.

2020-03-04 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-04T08:49:27Z New Revision: 068b2f313c7d27d9f6445df12d4d45d2d8c00898 URL: https://github.com/llvm/llvm-project/commit/068b2f313c7d27d9f6445df12d4d45d2d8c00898 DIFF: https://github.com/llvm/llvm-project/commit/068b2f313c7d27d9f6445df12d4d45d2d8c00898.diff LOG:

[clang] 810127f - [ARM,MVE] Add the `vsbciq` intrinsics.

2020-03-04 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-03-04T08:49:27Z New Revision: 810127f6ab5d5d7e7d6b8c3ae0b96f2027437ca8 URL: https://github.com/llvm/llvm-project/commit/810127f6ab5d5d7e7d6b8c3ae0b96f2027437ca8 DIFF: https://github.com/llvm/llvm-project/commit/810127f6ab5d5d7e7d6b8c3ae0b96f2027437ca8.diff LOG:

  1   2   >