[all-commits] [llvm/llvm-project] 96c973: [nfc] small maintainability IndirectCallPromotion ...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Thu Jul 20 14:35:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96c973d70583e70e28ebed26b89979e29779c2ca
https://github.com/llvm/llvm-project/commit/96c973d70583e70e28ebed26b89979e29779c2ca
Author: Mircea Trofin <mtrofin at google.com>
Date: 2023-07-20 (Thu, 20 Jul 2023)
Changed paths:
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[nfc] small maintainability IndirectCallPromotion changes
- we can remove the `Module` field, it's obtainable from `F` and used in
only one place
- a few fields can be `const`-ed, thus enforcing compile-time
initialization checking (and we don't need to support `operator=`)
Differential Revision: https://reviews.llvm.org/D155212
More information about the All-commits
mailing list