[llvm] r289624 - Disable Iterating SmallPtrSet in reverse order to uncover non-determinism in codegen by default

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 18:02:28 PST 2016


Author: mehdi_amini
Date: Tue Dec 13 20:02:28 2016
New Revision: 289624

URL: http://llvm.org/viewvc/llvm-project?rev=289624&view=rev
Log:
Disable Iterating SmallPtrSet in reverse order to uncover non-determinism in codegen by default

Bots are broken and needs to be fixed before having this on by default.
The feature was committed in r289619.

Modified:
    llvm/trunk/include/llvm/ADT/SmallPtrSet.h

Modified: llvm/trunk/include/llvm/ADT/SmallPtrSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallPtrSet.h?rev=289624&r1=289623&r2=289624&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallPtrSet.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallPtrSet.h Tue Dec 13 20:02:28 2016
@@ -29,7 +29,7 @@
 #if LLVM_ENABLE_ABI_BREAKING_CHECKS
 namespace llvm {
 template <class T = void> struct ReverseIterate { static bool value; };
-template <class T> bool ReverseIterate<T>::value = true;
+template <class T> bool ReverseIterate<T>::value = false;
 }
 #endif
 




More information about the llvm-commits mailing list