[llvm] r302928 - AMDGPU: Add lit.local.cfg to disable global-isel tests when global-isel is disabled

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 10:59:31 PDT 2017


Author: tstellar
Date: Fri May 12 12:59:30 2017
New Revision: 302928

URL: http://llvm.org/viewvc/llvm-project?rev=302928&view=rev
Log:
AMDGPU: Add lit.local.cfg to disable global-isel tests when global-isel is disabled

This should fix bots broken by r302919.

Added:
    llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg

Added: llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg?rev=302928&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg (added)
+++ llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg Fri May 12 12:59:30 2017
@@ -0,0 +1,2 @@
+if not 'global-isel' in config.root.available_features:
+    config.unsupported = True




More information about the llvm-commits mailing list