[llvm] [GVN] Reorganise GVN.h/GVH.cpp to improve readability and maintainability (NFC) (PR #210334)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 08:46:55 PDT 2026


================
@@ -120,37 +120,10 @@ struct GVNOptions {
 /// FIXME: We should have a good summary of the GVN algorithm implemented by
 /// this particular pass here.
 class GVNPass : public OptionalPassInfoMixin<GVNPass> {
----------------
momchil-velikov wrote:

One way to do it is https://github.com/llvm/llvm-project/pull/211024 , I guess.
I suppose also it could be `pImpl`ed.


https://github.com/llvm/llvm-project/pull/210334


More information about the llvm-commits mailing list