This is an archive of the discontinued LLVM Phabricator instance.

[ValueTracking] Use guards to prove non-nullness of a value
ClosedPublic

Authored by sanjoy on May 6 2016, 7:35 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 56489.May 6 2016, 7:35 PM
sanjoy retitled this revision from to [ValueTracking] Use guards to prove non-nullness of a value.
sanjoy updated this object.
sanjoy added reviewers: apilipenko, majnemer.
sanjoy added a subscriber: llvm-commits.
reames requested changes to this revision.May 9 2016, 6:28 PM
reames edited edge metadata.
reames added inline comments.
test/Transforms/LICM/hoist-deref-load.ll
531 ↗(On Diff #56489)

You're missing the CHECKs need to prove it doesn't trigger.

This revision now requires changes to proceed.May 9 2016, 6:28 PM
sanjoy added inline comments.May 9 2016, 6:35 PM
test/Transforms/LICM/hoist-deref-load.ll
531 ↗(On Diff #56489)

Good catch, fixing.

sanjoy updated this revision to Diff 56655.May 9 2016, 6:46 PM
sanjoy edited edge metadata.
  • fix test
reames accepted this revision.May 9 2016, 7:26 PM
reames edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 9 2016, 7:26 PM
This revision was automatically updated to reflect the committed changes.