Add fallback CPU detection when llvm is not aware of the CPU model

This commit is contained in:
kd-11 2024-08-03 04:54:37 +03:00 committed by kd-11
parent 8f51b0907a
commit 3e7c1e207d
3 changed files with 61 additions and 1 deletions

View file

@ -495,6 +495,7 @@ namespace llvm
class LLVMContext;
class ExecutionEngine;
class Module;
class StringRef;
}
// Temporary compiler interface
@ -560,4 +561,6 @@ public:
bool add_sub_disk_space(ssz space);
};
llvm::StringRef fallback_cpu_detection();
#endif // LLVM_AVAILABLE