- Zvbc is not part of Zvkn.
- Zvbc is not part of Zvks.
- Add extensions implied into shorthand extension.
Also arrange its definition order as more closely its order in document.
Please refer to https://reviews.llvm.org/D152117 and https://reviews.llvm.org/D153836.
Document: https://github.com/riscv/riscv-crypto/releases/download/v20230620/riscv-crypto-spec-vector.pdf
A few questions to improve my understanding. I am confused about the interactions between RISCVFeatures.td and RISCVISAInfo.cpp.
Prior to this commit, we did not list the implied extensions as part of the shorthand extensions. An expansion occurred during ISA string processing in llvm/lib/Support/RISCVISAInfo.cpp. Was this expansion missing in some cases, or are we now duplicating the expansion logic?
In RISCVISAInfo.cpp, there is also logic (see CombineIntoExts) to reveal the existence of those shorthand extensions when every component sub-extension has been declared. Is similar logic in place for those FeatureStdExt...?