[PATCH] D75401: [InstSimplify] Remove freeze if its operand is used as a branch condition

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 29 15:04:00 PST 2020


aqjune added a comment.

In D75401#1899543 <https://reviews.llvm.org/D75401#1899543>, @lebedev.ri wrote:

> Don't we want to look at every `br` that dominates `Q.CxtI`?




In D75401#1899594 <https://reviews.llvm.org/D75401#1899594>, @jdoerfert wrote:

> And then centralized collect `known UB` cases?


Makes sense, I'll make `isGuaranteedNotToBeUndefOrPoison` take the `CxtI`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75401





More information about the llvm-commits mailing list