[llvm] [GVN] use `AssertingVH` for leaders to improve compilation time (PR #175870)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 19:14:07 PDT 2026


https://github.com/Chengjunp commented:

LGTM. Just one small concern for the move constructor in `ValueHandleBase`. Should we have some unittests for these changes for the corner cases? Here may be a good place to add some? https://github.com/llvm/llvm-project/blob/f9adee2f6b1f06ae1623a044128997482da5132c/llvm/unittests/IR/ValueHandleTest.cpp#L1

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


More information about the llvm-commits mailing list