[PATCH] D142293: [InstCombine] Add PHINode operands to worklist on instruction erasure

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 21 17:21:45 PST 2023


luke added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/phi-elimination-iteration.ll:17
+; CHECK: INSTCOMBINE ITERATION #2
+; CHECK-NOT: INSTCOMBINE ITERATION #3
+; CHECK-LABEL: a:
----------------
Prior to this patch, three iterations are carried out because the `%phi.a` isn't added to the worklist


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142293/new/

https://reviews.llvm.org/D142293



More information about the llvm-commits mailing list