Revert "[BOLT] Hash-based function matching" (#96568)
Reverts llvm/llvm-project#95821
This commit is contained in:
@@ -82,7 +82,6 @@ extern cl::opt<bool> Hugify;
|
||||
extern cl::opt<bool> Instrument;
|
||||
extern cl::opt<JumpTableSupportLevel> JumpTables;
|
||||
extern cl::opt<bool> KeepNops;
|
||||
extern cl::opt<bool> MatchProfileWithFunctionHash;
|
||||
extern cl::list<std::string> ReorderData;
|
||||
extern cl::opt<bolt::ReorderFunctions::ReorderType> ReorderFunctions;
|
||||
extern cl::opt<bool> TerminalTrap;
|
||||
@@ -2983,9 +2982,6 @@ void RewriteInstance::selectFunctionsToProcess() {
|
||||
if (mustSkip(Function))
|
||||
return false;
|
||||
|
||||
if (opts::MatchProfileWithFunctionHash)
|
||||
return true;
|
||||
|
||||
// If the list is not empty, only process functions from the list.
|
||||
if (!opts::ForceFunctionNames.empty() || !ForceFunctionsNR.empty()) {
|
||||
// Regex check (-funcs and -funcs-file options).
|
||||
|
||||
Reference in New Issue
Block a user