[PATCH] D75808: [ValueTracking] isKnownNonZero, computeKnownBits for freeze

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 07:06:20 PDT 2020


aqjune added a comment.

In D75808#2260866 <https://reviews.llvm.org/D75808#2260866>, @fpichet wrote:

> Another thing: I noticed that SelectionDAG::computeKnownBits doesn't deal with ISD::FREEZE.
> Would it be ok to just call computeKnownBits (Op.getOperand(0)) to make it work. 
> (Since Select_FREEZE just lower to a copy)

It depends on whether SelDag has a poison value - does anyone know whether it has one?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75808



More information about the llvm-commits mailing list