[llvm] [BOLT] skip instruction shortening (PR #93032)

Daniel Hill via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 10:38:17 PDT 2024


================
@@ -370,7 +375,7 @@ Error BinaryFunctionPassManager::runAllPasses(BinaryContext &BC) {
   else if (opts::Hugify)
     Manager.registerPass(std::make_unique<HugePage>(NeverPrint));
 
-  Manager.registerPass(std::make_unique<ShortenInstructions>(NeverPrint));
+  Manager.registerPass(std::make_unique<ShortenInstructions>(NeverPrint),opts::ShortenInstructions);
----------------
hilldani wrote:

formatted

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


More information about the llvm-commits mailing list