This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Support funnel shifts in computeKnownBits()
ClosedPublic

Authored by nikic on Nov 30 2018, 12:04 PM.

Details

Summary

This is a continuation of D54869, this time adding support for funnel shifts in ValueTracking computeKnownBits(). Implementation is essentially the same as for InstCombineSimplifyDemandedBits.

Diff Detail

Repository
rL LLVM

Event Timeline

nikic created this revision.Nov 30 2018, 12:04 PM

Apart from this, support for ROTL and ROTR could be added to the SelectionDAG variant of computeKnownBits.

spatel accepted this revision.Dec 2 2018, 5:03 AM

LGTM

This revision is now accepted and ready to land.Dec 2 2018, 5:03 AM
This revision was automatically updated to reflect the committed changes.