================
@@ -160,7 +160,7 @@ inlineCostFeatureToMlFeature(InlineCostFeatureIndex
Feature) {
return static_cast<FeatureIndex>(static_cast<size_t>(Feature));
}
-LLVM_ABI extern std::vector<TensorSpec> FeatureMap;
+LLVM_ABI extern std::vector<TensorSpec> &getFeatureMap();
----------------
efriedma-quic wrote:
```suggestion
LLVM_ABI extern const std::vector<TensorSpec> &getFeatureMap();
```
https://github.com/llvm/llvm-project/pull/154541
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits