================
@@ -22,7 +23,8 @@ struct RISCVExtensionInfo {
unsigned MinorVersion;
};
-void riscvExtensionsHelp();
+void getAllExtensions(StringMap<RISCVExtensionInfo> &Features);
----------------
cbalint13 wrote:
Regarding accesors see [these lines]
(https://github.com/cbalint13/tvm/blob/4c17af1a187dee450ab89107df18623e8edadede/src/target/llvm/llvm_module.cc#L90-L107)
in an external project.
--
The info desired there would be usefull in super simple queries like: "Is true
that user desired CPU X have feature X", e.g. a concrete example, a user have a
```casadelake``` and check up if it is ```avx512bw``` capable, and also LLVM
backend have it implemented or not (if it is older).
https://github.com/llvm/llvm-project/pull/66715
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits