aeubanks added a comment. looks fine, but even though the other patch indirectly tests this, can you add to `llvm/unittests/Transforms/Utils/CloningTest.cpp`? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D138523/new/ https://reviews.llvm.org/D138523