1 ; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -mattr=+aix-small-local-exec-tls \
2 ; RUN: -ppc-asm-full-reg-names < %s | FileCheck %s
3 ; RUN: not llc -mtriple powerpc-ibm-aix-xcoff -mattr=+aix-small-local-exec-tls \
4 ; RUN: -ppc-asm-full-reg-names < %s 2>&1 | \
5 ; RUN: FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED
6 ; RUN: not llc -mtriple powerpc64le-unknown-linux-gnu -mattr=+aix-small-local-exec-tls \
7 ; RUN: -ppc-asm-full-reg-names < %s 2>&1 | \
8 ; RUN: FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED
10 define dso_local signext i32 @testNoIRAttr() {
15 ; Check that the aix-small-local-exec-tls attribute is not supported on Linux and AIX (32-bit).
16 ; CHECK-NOT-SUPPORTED: The aix-small-local-exec-tls attribute is only supported on AIX in 64-bit mode.
18 ; Make sure that the test was actually compiled successfully after using the
19 ; aix-small-local-exec-tls attribute.
20 ; CHECK-LABEL: testNoIRAttr: