This is an archive of the discontinued LLVM Phabricator instance.

Implement computeKnownBits for min/max nodes
ClosedPublic

Authored by arsenm on Jun 4 2015, 10:06 AM.

Details

Reviewers
jmolloy

Diff Detail

Event Timeline

arsenm updated this revision to Diff 27130.Jun 4 2015, 10:06 AM
arsenm retitled this revision from to Implement computeKnownBits for min/max nodes.
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a reviewer: jmolloy.
arsenm added a subscriber: Unknown Object (MLST).
ab added a subscriber: ab.Jun 4 2015, 11:01 AM
ab added inline comments.
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
2435–2438

How about adding these cases to the ISD::SELECT case? (same for sign bits). That ought to make it obvious we're just analyzing these as SELECT variants.

jmolloy accepted this revision.Jun 4 2015, 11:26 AM
jmolloy edited edge metadata.

Hi Matt,

Yeah, I'm happy as long as Ahmed is.

Thanks!

James

This revision is now accepted and ready to land.Jun 4 2015, 11:26 AM
arsenm closed this revision.Jun 8 2015, 5:56 PM

r239378