Skip to content

Commit cf410b1

Browse files
committed
[AArch64][test] Add %if x86-registered-target after 0b69cc8
If X86 target is not enabled, llc fails with a different error.
1 parent 7f7f4a6 commit cf410b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/MC/AArch64/global-tagging.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;; Tagged symbols are only available on aarch64-linux-android.
22
; RUN: not llc %s -mtriple=aarch64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
3-
; RUN: not llc %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
3+
; RUN: %if x86-registered-target %{ not llc %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR %}
44

55
; ERR: error: tagged symbols (-fsanitize=memtag-globals) are only supported on AArch64 Android
66

0 commit comments

Comments
 (0)