[PATCH] D146054: [RISCV] Add --print-supported-extensions support

Brandon Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 3 21:56:15 PDT 2023


4vtomat marked an inline comment as done.
4vtomat added inline comments.


================
Comment at: clang/test/Driver/print-supported-extensions.c:3
+
+// REQUIRES: riscv-registered-target
+
----------------
MaskRay wrote:
> If you remove `all` and `RISCV` from `LLVM_TARGETS_TO_BUILD`, you can test whether this feature works without lib/Target/RISCV support. I suspect it works, so you may need another build for verification.
No it cause an error if I use the command with the target without riscv such as: 
```
bin/clang --target=aarch64 --print-supported-extensions
or
bin/clang --target=x86 --print-supported-extensions
```



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146054/new/

https://reviews.llvm.org/D146054



More information about the cfe-commits mailing list