[llvm] [Attributor] Only seed live internal callees during deduction (PR #222226)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 00:29:28 PDT 2026


================
@@ -212,4 +212,52 @@ TEST_F(AttributorTestBase, AAReachabilityTest) {
   ASSERT_FALSE(F9AA.instructionCanReach(A, F9FirstInst, F4));
 }
 
+TEST_F(AttributorTestBase, CleanupDoesNotSeedLiveCallees) {
+  for (bool SeedCaller : {false, true}) {
+    SCOPED_TRACE(SeedCaller);
+    Module &M = parseModule(R"(
----------------
int-zjt wrote:

Switched back to debug output checks, thanks!

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


More information about the llvm-commits mailing list