[llvm-dev] [cfe-dev] Uncovering non-determinism in LLVM (original) (raw)

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 30 09:51:45 PDT 2017


On Tue, Aug 29, 2017 at 11:45 AM Grang, Mandeep Singh via cfe-dev < cfe-dev at lists.llvm.org> wrote:

Hi All,

I wanted to share a couple of updates on the effort to uncover non-determinism in LLVM through reverse iteration. 1. Reverse iteration has now been enabled for DenseMap (https://reviews.llvm.org/D35043) 2. We have setup a nightly reverse iteration buildbot (http://lab.llvm.org:8011/builders/reverse-iteration). This builds all LLVM targets with reverse iteration ON and runs ninja check-all. Currently there are 14 unit test failures. Please feel free to fix these. Also currently, only I receive the nightly email notification for this buildbot run. My plan is to enable sending the nightly notifications to llvm-commits once all 14 failures have been resolved. Please let me know if the community wants the nightly notifications even with the failures. As a potential next step, I was thinking about bootstrapping this reverse iteration LLVM to compile itself. Not sure if it can uncover more bugs but maybe worth a shot.

To uncover bugs in this configuration, I believe you'd want/need a stage2/stage3 comparison which might be a bit tricky/expensive*, something like:

build clang twice (reverse and forward enabled) then build (in one mode, doesn't matter which I think) clang or other release binaries (or even the whole release) from each of those and compare them bit-for-bit, they should be identical.

All comments/suggestions welcome. Thanks, Mandeep


cfe-dev mailing list cfe-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170830/5ac300b1/attachment.html>



More information about the llvm-dev mailing list