Page MenuHomePhabricator

Fix llvm::ComputeNumSignBits with some operations and llvm.assume
ClosedPublic

Authored by rampitec on Jul 24 2018, 2:21 PM.

Details

Summary

Currently ComputeNumSignBits does early exit while processing some
of the operations (add, sub, mul, and select). This prevents the
function from using AssumptionCacheTracker if passed.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Jul 24 2018, 2:21 PM
artem.tamazov accepted this revision.Jul 25 2018, 7:53 AM

Good job, thanks!

This revision is now accepted and ready to land.Jul 25 2018, 7:53 AM
This revision was automatically updated to reflect the committed changes.