This is an archive of the discontinued LLVM Phabricator instance.

Introduce the new feature "abi-breaking-checks"
ClosedPublic

Authored by chapuni on Jun 2 2017, 3:56 PM.

Details

Summary

A few tests in llvm/test/Transforms/Util/PredicateInfo/ are using -reverse-iterate.
The option -reverse-iterate is enabled with +Asserts in usual cases, but it can be turned on/off regardless of LLVM_ENABLE_ASSERTIONS.

I think it is better to introduce the new feature "abi-breaking-checks" for that.

Diff Detail

Repository
rL LLVM

Event Timeline

chapuni created this revision.Jun 2 2017, 3:56 PM
mgrang edited edge metadata.Jun 2 2017, 4:04 PM

LGTM.

mgrang accepted this revision.Jun 4 2017, 9:06 PM

Accepting the patch, unless @chandlerc has any concerns/comments.

This revision is now accepted and ready to land.Jun 4 2017, 9:06 PM
mgrang added a comment.Jun 6 2017, 4:58 PM

@chapuni I see that your patch is on llvm/trunk. Do you intend to push it to llvm master as well?

I wonder D33908 might break assumptions.

@chapuni I see that your patch is on llvm/trunk. Do you intend to push it to llvm master as well?

llvm/trunk is just path in the diff.

mgrang added a comment.Jun 6 2017, 5:17 PM

Can you commit this patch? I tried committing but got errors:
error: llvm/trunk/test/lit.site.cfg.in: does not exist in index
error: llvm/trunk/test/lit.cfg: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/testandor2.ll: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/condprop2.ll: does not exist in index

This revision was automatically updated to reflect the committed changes.

Can you commit this patch? I tried committing but got errors:
error: llvm/trunk/test/lit.site.cfg.in: does not exist in index
error: llvm/trunk/test/lit.cfg: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/testandor2.ll: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/condprop2.ll: does not exist in index

Excuse me, I didn't use arc in my daily tasks.

mgrang added a comment.Jun 6 2017, 5:25 PM

Can you commit this patch? I tried committing but got errors:
error: llvm/trunk/test/lit.site.cfg.in: does not exist in index
error: llvm/trunk/test/lit.cfg: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/testandor2.ll: does not exist in index
error: llvm/trunk/test/Transforms/Util/PredicateInfo/condprop2.ll: does not exist in index

Excuse me, I didn't use arc in my daily tasks.

Thanks for this patch!