-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__riscv_vsetvlmax_e64m1 & co not available with attribute target arch=+v #125154
Comments
@llvm/issue-subscribers-backend-risc-v Author: dzaima (dzaima)
Copying out of https://github.com//issues/56592:
The following fails to compile with
https://godbolt.org/z/rPnh5zYE5 I believe this would be because these definitions are preprocessor-gated: llvm-project/clang/include/clang/Basic/riscv_vector.td Lines 637 to 675 in 33c42f8
|
let me take this! thanks @dzaima for reporting! |
Copying out of #56592:
The following fails to compile with
-march=rv64gc
, despite working with-march=rv64gcv
, which should be what the__attribute__
achieves:https://godbolt.org/z/rPnh5zYE5
I believe this would be because these definitions are preprocessor-gated:
llvm-project/clang/include/clang/Basic/riscv_vector.td
Lines 637 to 675 in 33c42f8
The text was updated successfully, but these errors were encountered: