[PATCH] D26718: [llvm] Iterate SmallPtrSet in reverse order to uncover codegen non-determinism
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 16:47:16 PST 2016
mgrang created this revision.
mgrang added reviewers: mehdi_amini, dexonsmith, zinob.
mgrang added a subscriber: llvm-commits.
mgrang set the repository for this revision to rL LLVM.
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.
Patch recreated with llvm-commits as subscriber. The previous patch https://reviews.llvm.org/D26703 was abandoned.
Repository:
rL LLVM
https://reviews.llvm.org/D26718
Files:
include/llvm/ADT/SmallPtrSet.h
lib/Support/CommandLine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26718.78098.patch
Type: text/x-patch
Size: 2763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/de367222/attachment.bin>
More information about the llvm-commits
mailing list