Add fallback CPU detection when llvm is not aware of the CPU model
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user