summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-03-21 12:04:56 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-03-21 12:09:06 +0100
commitab22a6ba419b8316206ce646649db6e504bb3178 (patch)
treedfda685c05f38e4197df6a2e2c5de9c5914a65bb
parente07d9e362255c4fd09f2956ea0c8fa2d1db7c723 (diff)
run: always set RADV_DEBUG=checkir
This runs the Verifier LLVM pass and it catches a bunch of errors. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
-rw-r--r--run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/run.c b/run.c
index 05efeec..fabc50c 100644
--- a/run.c
+++ b/run.c
@@ -558,6 +558,7 @@ int main(int argc, char **argv)
fprintf(stderr, "WARNING: could not install SIGSEGV handler.\n");
setenv("ANV_ENABLE_PIPELINE_CACHE", "false", 1);
+ setenv("RADV_DEBUG", "checkir", 1);
#pragma omp parallel if(max_threads > 1 && pipeline_test_length > max_threads)
{