[all-commits] [llvm/llvm-project] 6779ca: [GVN] Move `ValueTable` out of `GVN.h` (NFC)
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Mon Sep 28 03:25:40 PDT 2026
Branch: refs/heads/users/momchil-velikov/gvn-move-value-table
Home: https://github.com/llvm/llvm-project
Commit: 6779caf31882454a80c63d0181365f7167efe470
https://github.com/llvm/llvm-project/commit/6779caf31882454a80c63d0181365f7167efe470
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2026-09-28 (Mon, 28 Sep 2026)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/GVN.h
A llvm/include/llvm/Transforms/Scalar/GVNHoist.h
A llvm/include/llvm/Transforms/Scalar/GVNSink.h
A llvm/include/llvm/Transforms/Scalar/GVNValueTable.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/lib/Transforms/Scalar/GVNHoist.cpp
M llvm/lib/Transforms/Scalar/GVNSink.cpp
Log Message:
-----------
[GVN] Move `ValueTable` out of `GVN.h` (NFC)
* Rename `GVNPass::ValueTable` to `GVNValueTable`, and move it out to
the `llvm` namepace and to its own file `GVNValueTable.h`
* Move `GVNPass::Expression` into `llvm::GVNValueTable`.
* Move `GVNHoistPass` and `GVNSinkPass` to their own headers.
With these changes `GVHoist.cpp` and `GVNSink.cpp` no longer need
to include `GVN.h` or peek into `GVNPass` internals.
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