[PowerPC] Add lit.local.cfg in AtomicExpand tests
authorKai Luo <lkail@cn.ibm.com>
Tue, 20 Jul 2021 09:11:01 +0000 (09:11 +0000)
committerKai Luo <lkail@cn.ibm.com>
Tue, 20 Jul 2021 09:13:50 +0000 (09:13 +0000)
Fixed build errors on other platforms.

llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg [new file with mode: 0644]

diff --git a/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg
new file mode 100644 (file)
index 0000000..0913324
--- /dev/null
@@ -0,0 +1,2 @@
+if not 'PowerPC' in config.root.targets:
+    config.unsupported = True