[clang] [llvm] [PowerPC] frontend get target feature from backend with cpu name (PR #137670)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 20:18:51 PDT 2025


================
@@ -18,6 +18,53 @@
 using namespace llvm;
 using namespace AMDGPU;
 
+/// Find KV in array using binary search.
+static const BasicSubtargetSubTypeKV *
+Find(StringRef S, ArrayRef<BasicSubtargetSubTypeKV> A) {
----------------
MaskRay wrote:

`find` (functionName in new code)

https://github.com/llvm/llvm-project/pull/137670


More information about the llvm-commits mailing list