[PATCH] D90841: [JumpThreading] Fix branch probabilities in DuplicateCondBranchOnPHIIntoPred()

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 13:32:12 PST 2020


kazu added a comment.

Your patch looks reasonable.   Is there any way you could come up with a testcase to make sure that the pass indeed copies the probabilities in your testcase?  (Note that I'm not asking for a testcase that exposed this bug before D90284 <https://reviews.llvm.org/D90284>.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90841



More information about the llvm-commits mailing list