[llvm] 18adf4b - [AMDGPU][llvm-objdump] Add lit.local.cfg missing from recent commit

Tim Renouf via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 06:07:57 PDT 2021


Author: Tim Renouf
Date: 2021-04-26T14:07:04+01:00
New Revision: 18adf4bb0d139b1274c5021d19d8602853827b86

URL: https://github.com/llvm/llvm-project/commit/18adf4bb0d139b1274c5021d19d8602853827b86
DIFF: https://github.com/llvm/llvm-project/commit/18adf4bb0d139b1274c5021d19d8602853827b86.diff

LOG: [AMDGPU][llvm-objdump] Add lit.local.cfg missing from recent commit

Stops llvm-objdump tests failing when AMDGPU target is not supported.

Change-Id: Ic4ae443958c41c303ff6bee0966e5f21ab7a1851

Added: 
    llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
new file mode 100644
index 000000000000..2a665f06be72
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
@@ -0,0 +1,2 @@
+if not 'AMDGPU' in config.root.targets:
+    config.unsupported = True


        


More information about the llvm-commits mailing list