This is an archive of the discontinued LLVM Phabricator instance.

Refactor isPointerOffset (NFC).
ClosedPublic

Authored by eugenis on Aug 15 2019, 4:02 PM.

Details

Summary

Simplify the API using Optional<> and address comments in

https://reviews.llvm.org/D66165

Event Timeline

eugenis created this revision.Aug 15 2019, 4:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2019, 4:02 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vitalybuka accepted this revision.Aug 19 2019, 1:40 PM
vitalybuka added inline comments.
llvm/include/llvm/Analysis/ValueTracking.h
667

const Value *Ptr1?

This revision is now accepted and ready to land.Aug 19 2019, 1:40 PM
eugenis updated this revision to Diff 215979.Aug 19 2019, 2:04 PM

address comments

eugenis marked an inline comment as done.Aug 19 2019, 2:05 PM
This revision was automatically updated to reflect the committed changes.