================ @@ -264,4 +264,28 @@ TEST_F(PassManagerTest, DiagnosticHandler) { std::string::npos); } +TEST_F(PassManagerTest, RunTwice) { ---------------- aeubanks wrote: put this in `llvm/unittests/IR/PassManagerTest.cpp` instead https://github.com/llvm/llvm-project/pull/92823