summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-12-14 02:35:32 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-12-14 02:35:32 +0000
commit76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb (patch)
tree6917f76bde637fe30c158c7e1793078b7ce1af8c /llvm/lib/Support/CommandLine.cpp
parent41a2508e5979bbd5a3dad687f2e94bc0e38a7fa4 (diff)
downloadbcm5719-llvm-76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb.tar.gz
bcm5719-llvm-76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb.zip
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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index f4d501aceba..fa1782c9941 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<bool, true> ReverseIteration("reverse-iterate",
- cl::location(ReverseIterate<bool>::value), cl::init(true));
+ cl::location(ReverseIterate<bool>::value));
}
#endif
OpenPOWER on IntegriCloud