According to version_macro.adoc under rvv-intrinsic-doc, the compiler
should have a macro to imply such availability.
Link: https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/master/version_macro.adoc
Paths
| Differential D138930
[RISCV] Add macro to imply compiler availability on RISC-V Vector intrinsics version ClosedPublic Authored by eopXD on Nov 29 2022, 8:39 AM.
Details Summary According to version_macro.adoc under rvv-intrinsic-doc, the compiler Link: https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/master/version_macro.adoc
Diff Detail
Event Timeline
Comment Actions LGTM. I am thinking that we should use same way to define both __riscv_v_intrinsic_overloading[1] and __riscv_v_intrinsic, __riscv_v_intrinsic_overloading is defined in riscv_vector.h now, maybe we should defined that here too. https://github.com/llvm/llvm-project/blob/main/clang/utils/TableGen/RISCVVEmitter.cpp#L401 This revision is now accepted and ready to land.Nov 29 2022, 11:35 PM Comment Actions LGTM, thanks!
This revision was landed with ongoing or failed builds.Nov 30 2022, 8:36 AM Closed by commit rG482b8b493be0: [RISCV] Add macro to imply compiler availability on RISC-V Vector intrinsics… (authored by eopXD). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 478967 clang/lib/Basic/Targets/RISCV.cpp
clang/test/Preprocessor/riscv-target-features.c
|
Nit: comment should end with full stop.