[llvm] [BOLT] add disable pass flags (PR #93032)

Daniel Hill via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 10:56:06 PDT 2024


================
@@ -269,9 +266,11 @@ Error ReorderFunctions::readFunctionOrderFile(
 }
 
 Error ReorderFunctions::runOnFunctions(BinaryContext &BC) {
+  if (opts::ReorderFunctions == RT_NONE) {
----------------
hilldani wrote:

Interesting. Thanks for all the pointers. For the sake of simplicity I'll make this PR just add the option to skip instruction shortening.

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


More information about the llvm-commits mailing list