``validateir``
validate the ACO IR at various points of compilation (enabled by
default for debug/debugoptimized builds)
+ ``novalidateir``
+ disable ACO IR validation in debug/debugoptimized builds
``validatera``
validate register assignment of ACO IR and catches many RA bugs
``perfwarn``
static const struct debug_control aco_debug_options[] = {{"validateir", DEBUG_VALIDATE_IR},
{"validatera", DEBUG_VALIDATE_RA},
+ {"novalidateir", DEBUG_NO_VALIDATE_IR},
{"perfwarn", DEBUG_PERFWARN},
{"force-waitcnt", DEBUG_FORCE_WAITCNT},
{"force-waitdeps", DEBUG_FORCE_WAITDEPS},
/* enable some flags by default on debug builds */
debug_flags |= aco::DEBUG_VALIDATE_IR;
#endif
+
+ if (debug_flags & aco::DEBUG_NO_VALIDATE_IR)
+ debug_flags &= ~aco::DEBUG_VALIDATE_IR;
}
void