[PATCH] D127464: [BOLT] Mark fragments related to split jump table as non-simple

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 13:36:05 PDT 2022


Amir added inline comments.


================
Comment at: bolt/lib/Core/BinaryContext.cpp:706
     UniqueFunctions.insert(Function);
+    Function->setHasSplitJumpTable(true);
   };
----------------
This lambda is for adding to a worklist and filtering out repetitions. Let's keep it this way and move this line down to `setSimple`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127464/new/

https://reviews.llvm.org/D127464



More information about the llvm-commits mailing list