From: Mehdi Amini Date: Wed, 14 Dec 2016 02:35:32 +0000 (+0000) Subject: Don't double-initialize cl::opt for iterating in reverse order to uncover non-determi... X-Git-Tag: llvmorg-4.0.0-rc1~2165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb;p=platform%2Fupstream%2Fllvm.git 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 --- 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