https://github.com/cbalint13 closed
https://github.com/llvm/llvm-project/pull/66586
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
DavidSpickett wrote:
> I was only able to check intel's one (w.r.t to -mcpu), without being aware on
> aarch64 / riscv world's detail.
Yes I wouldn't expect you to right away, that's why we all keep an eye out for
each other's changes :) . That's what I meant about starting by writing more
co
cbalint13 wrote:
> Put `-mcpu` aside for now, that's nice, but it's only going to be viable in a
> world where the backend (tablegen) and frontend (target parsers/ABI info)
> agree on what is valid and can also be passed to clang.
> So what your patch produces is kinda like `./bin/clang --targ
DavidSpickett wrote:
Put `-mcpu` aside for now, that's nice, but it's only going to be viable in a
world where the backend (tablegen) and frontend (target parsers/ABI info) agree
on what is valid and can also be passed to clang.
> The file with the full log outputs is here:
> [sample-outputs.
cbalint13 wrote:
@DavidSpickett
Hi David,
> Thankyou for looking into this, if it can work it's much cleaner than an ever
> expanding if.
>
> I think that `getAllProcessorFeatures` may include things that are rejected
> by `-march`. I will check that for Arm and AArch64. Since the list of
DavidSpickett wrote:
One way to check the formats is to add checks for the column titles (if any)
and first extension listed in `clang/test/Driver/print-supported-extensions.c`,
to document the existing behaviour. RISC-V calls into it's own ABI info class
which only has unit tests so if you ch
DavidSpickett wrote:
Thankyou for looking into this, if it can work it's much cleaner than an ever
expanding if.
I think that `getAllProcessorFeatures` my include things that are rejected by
`-march`. I will check that for Arm and AArch64. Since the list of features in
the target parser may b
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 689b322408caff8340ffef4dd526d3640958ea03 Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 16:52:15 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 7bbe54c0649c2abd29d51e538d2b0bf77359d0f8 Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 16:16:40 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 17f855f12757ee66ff99cf24abe4be0dcffc3532 Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 15:42:27 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 6111b800196cee9ee45ebb5c800e17e56b843152 Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 15:24:23 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From ac90fe17df0f7212e675ddf38dbce5b608933b8e Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 14:20:10 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 633e258d41bf15e77f592f4e95eda729e6da5a4b Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 14:16:13 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 edited
https://github.com/llvm/llvm-project/pull/66586
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cbalint13 wrote:
@DavidSpickett ,
> * We can limit to list flags only for a desired e.g. -mcpu=XYZ, so the user
> can query like:
> Let me know if it would be another interesting command-line feature, I'll be
> happy doing it in a subsecvent PR.
Implemented the -mcpu filter option too.
```
$
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From fbbc72c2f3d0cbcbb34eca2c9dcb6214076d38de Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 14:06:05 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 47422fc341cc2a830aa7abec6d105018271f13bd Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 03:00:59 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
https://github.com/cbalint13 edited
https://github.com/llvm/llvm-project/pull/66586
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cbalint13 updated
https://github.com/llvm/llvm-project/pull/66586
>From 87c21561e1c087caeb6105f5824e809da85e67ac Mon Sep 17 00:00:00 2001
From: Balint Cristian
Date: Sun, 17 Sep 2023 02:36:45 +0300
Subject: [PATCH] [clang] Enable --print-supported-extensions for all targets
cbalint13 wrote:
@DavidSpickett ,
This PR list all flags for a specific target.
---
Additionally, beyond this PR:
* We can limit to list flags only for a desired e.g. -mcpu=XYZ, e.g. the user
can query like:
```./bin/clang -target x86_64-linux-gnu -mcpu=sandybridge
--print-supported-extensi
https://github.com/cbalint13 created
https://github.com/llvm/llvm-project/pull/66586
This uses MCSubtargetInfo instead to cover all the architectures. This now also
list descriptions along with the names.
The advantage fetching from MCSubtargetInfo is that we rely on tablegen
architecture des
21 matches
Mail list logo