Page MenuHomePhabricator

Iterate SmallPtrSet in reverse order to uncover codegen non-determinism
AbandonedPublic

Authored by mehdi_amini on Nov 15 2016, 3:01 PM.

Details

Summary

Given a flag (-mllvm -reverse-iterate) this patch will enable iteration of SmallPtrSet in reverse order. The idea is to compile the same source with and without this flag and expect the code to not change.
If there is a difference in codegen then it would mean that the codegen is sensitive to the iteration order of SmallPtrSet.

Diff Detail

Repository
rL LLVM

Event Timeline

mgrang updated this revision to Diff 78080.Nov 15 2016, 3:01 PM
mgrang retitled this revision from to Iterate SmallPtrSet in reverse order to uncover codegen non-determinism.
mgrang updated this object.
mgrang set the repository for this revision to rL LLVM.
mgrang updated this object.Nov 15 2016, 3:08 PM
mehdi_amini commandeered this revision.Nov 15 2016, 3:35 PM
mehdi_amini abandoned this revision.
mehdi_amini edited reviewers, added: mgrang; removed: mehdi_amini.

You need to add llvm-commits as a subscriber on the creation of the revision, otherwise there is no proper thread on the mailing list with a patch attached.

Can you please recreate the revision?

Thanks!