From 76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 14 Dec 2016 02:35:32 +0000 Subject: [PATCH] Don't double-initialize cl::opt for iterating 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. I tried to disable it in r289624 and failed because it was initialized in two places. llvm-svn: 289626 --- llvm/lib/Support/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index f4d501a..fa1782c 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -52,7 +52,7 @@ namespace llvm { // This will help uncover differences in codegen caused due to undefined // iteration order. static cl::opt ReverseIteration("reverse-iterate", - cl::location(ReverseIterate::value), cl::init(true)); + cl::location(ReverseIterate::value)); } #endif -- 2.7.4