[llvm] [JTS][NFC] Optimize guid fetching (PR #161612)
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 18:03:15 PDT 2025
================
@@ -15,7 +15,12 @@ namespace llvm {
class Function;
-struct JumpTableToSwitchPass : PassInfoMixin<JumpTableToSwitchPass> {
+class JumpTableToSwitchPass : public PassInfoMixin<JumpTableToSwitchPass> {
+ // Necessary until we switch to GUIDs as metadata, after which we can drop it.
+ const bool InLTO;
+
+public:
+ JumpTableToSwitchPass(bool InLTO = false) : InLTO(InLTO) {}
----------------
alexander-shaposhnikov wrote:
explicit
https://github.com/llvm/llvm-project/pull/161612
More information about the llvm-commits
mailing list