[all-commits] [llvm/llvm-project] 2bdc0d: [ICP] Fix warnings
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Aug 27 12:37:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2bdc0da4d7a26ab023ee03b877fb4a3e4beb070c
https://github.com/llvm/llvm-project/commit/2bdc0da4d7a26ab023ee03b877fb4a3e4beb070c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[ICP] Fix warnings
This patch fixes:
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp:845:12:
error: variable 'RemainingVTableCount' set but not used
[-Werror,-Wunused-but-set-variable]
llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp:306:23:
error: private field 'PSI' is not used
[-Werror,-Wunused-private-field]
Here are a couple of domino effects:
- Once I remove PSI, I need to update the contructor and its caller.
- Once I remove RemainingVTableCount, I don't need TotalCount, so I am
updating the caller as well.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list