This is an archive of the discontinued LLVM Phabricator instance.

[ConstraintElimination] Transfer info from sgt %a, %b to ugt %a, %b if %b > 0
ClosedPublic

Authored by zjaffal on Apr 14 2023, 4:12 AM.

Diff Detail

Event Timeline

zjaffal created this revision.Apr 14 2023, 4:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 4:12 AM
zjaffal requested review of this revision.Apr 14 2023, 4:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 4:12 AM
fhahn added a comment.Apr 14 2023, 5:41 AM

Please add a proof using Alive2 (https://alive2.llvm.org/ce/) for the newly added reasoning to the patch description.

zjaffal updated this revision to Diff 513605.Apr 14 2023, 8:26 AM

rebase on top of main

fhahn accepted this revision.Apr 15 2023, 3:17 AM

Thanks! The above only proves it for a specific constant value of B (= 2). Better to have the proof use an arbitrary value of B: https://alive2.llvm.org/ce/z/uFN8xW

LGTM. Please make sure to include the link to the alive2 proof in the commit message.

This revision is now accepted and ready to land.Apr 15 2023, 3:17 AM
This revision was landed with ongoing or failed builds.Apr 17 2023, 1:28 AM
This revision was automatically updated to reflect the committed changes.