This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Expose `implies` via ValueTracking, NFC
ClosedPublic

Authored by sanjoy on Oct 21 2015, 9:55 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 38086.Oct 21 2015, 9:55 PM
sanjoy retitled this revision from to [ValueTracking] Expose `implies` via ValueTracking, NFC.
sanjoy updated this object.
sanjoy added a reviewer: reames.
sanjoy added a subscriber: llvm-commits.
majnemer added inline comments.
lib/Analysis/ValueTracking.cpp
3944 ↗(On Diff #38086)

Does this need to be here? add nuw can never decrease a number in unsigned-comparison space.

sanjoy added inline comments.Oct 22 2015, 12:54 AM
lib/Analysis/ValueTracking.cpp
3944 ↗(On Diff #38086)

You're right, but I'm only moving the code, and I'd rather have this change not have any semantic effects.

I'll fix this up in a later commit.

hfinkel accepted this revision.Oct 27 2015, 12:49 PM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM.

This revision is now accepted and ready to land.Oct 27 2015, 12:49 PM
This revision was automatically updated to reflect the committed changes.