This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Convert most of the calls to computeKnownBits to use the version that returns the KnownBits obje
ClosedPublic

Authored by craig.topper on May 22 2017, 11:57 PM.

Details

Summary

This continues the changes started when computeSignBit was replaced with this new version of computeKnowBits.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.May 22 2017, 11:57 PM
RKSimon accepted this revision.May 24 2017, 8:17 AM

LGTM - the KnownBits changes and the OptimizationRemarkEmitter arg change should be committed separately.

include/llvm/Analysis/ValueTracking.h
64 ↗(On Diff #99852)

This looks like it should be committed separately but I don't know what test coverage is possible.

This revision is now accepted and ready to land.May 24 2017, 8:17 AM
This revision was automatically updated to reflect the committed changes.
davide edited edge metadata.May 24 2017, 9:54 AM

Agree with Simon, this needs to be split in two patches.