1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

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
This commit is contained in:
Mehdi Amini 2016-12-14 02:35:32 +00:00
parent 70b653afcb
commit cef3c53d65

View File

@ -52,7 +52,7 @@ namespace llvm {
// This will help uncover differences in codegen caused due to undefined // This will help uncover differences in codegen caused due to undefined
// iteration order. // iteration order.
static cl::opt<bool, true> ReverseIteration("reverse-iterate", static cl::opt<bool, true> ReverseIteration("reverse-iterate",
cl::location(ReverseIterate<bool>::value), cl::init(true)); cl::location(ReverseIterate<bool>::value));
} }
#endif #endif