[llvm] cf410b1 - [AArch64][test] Add %if x86-registered-target after 0b69cc8bcba79366aeee1531c61b1e8255a2d6c4
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 15:24:33 PDT 2023
Author: Fangrui Song
Date: 2023-07-10T15:24:28-07:00
New Revision: cf410b181f8c546b9ae4cd65a82d08e65bacec82
URL: https://github.com/llvm/llvm-project/commit/cf410b181f8c546b9ae4cd65a82d08e65bacec82
DIFF: https://github.com/llvm/llvm-project/commit/cf410b181f8c546b9ae4cd65a82d08e65bacec82.diff
LOG: [AArch64][test] Add %if x86-registered-target after 0b69cc8bcba79366aeee1531c61b1e8255a2d6c4
If X86 target is not enabled, llc fails with a different error.
Added:
Modified:
llvm/test/MC/AArch64/global-tagging.ll
Removed:
################################################################################
diff --git a/llvm/test/MC/AArch64/global-tagging.ll b/llvm/test/MC/AArch64/global-tagging.ll
index 0c730ecd00c43e..5d7f4241e8acf3 100644
--- a/llvm/test/MC/AArch64/global-tagging.ll
+++ b/llvm/test/MC/AArch64/global-tagging.ll
@@ -1,6 +1,6 @@
;; Tagged symbols are only available on aarch64-linux-android.
; RUN: not llc %s -mtriple=aarch64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
-; RUN: not llc %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
+; RUN: %if x86-registered-target %{ not llc %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR %}
; ERR: error: tagged symbols (-fsanitize=memtag-globals) are only supported on AArch64 Android
More information about the llvm-commits
mailing list