[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-26 Thread Amy Kwan via cfe-commits
https://github.com/amy-kwan closed https://github.com/llvm/llvm-project/pull/79252 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-26 Thread Amy Kwan via cfe-commits
@@ -124,10 +124,23 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef TuneCPU, // Determine endianness. IsLittleEndian = TM.isLittleEndian(); - if (HasAIXSmallLocalExecTLS && (!TargetTriple.isOSAIX() || !IsPPC64)) -report_fatal_error( - "The

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Amy Kwan via cfe-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/79252 >From 3efadc26e156d8412972ce35cc52559295131eb8 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 23 Jan 2024 22:19:49 -0600 Subject: [PATCH 1/2] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Amy Kwan via cfe-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/79252 >From 7e56809d82d1a1f64cee5f88607a0e279e56daca Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 23 Jan 2024 22:19:49 -0600 Subject: [PATCH 1/2] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Amy Kwan via cfe-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/79252 >From dc55bb565e6f778803604dfaa2874ce1d5fbdc86 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 23 Jan 2024 22:19:49 -0600 Subject: [PATCH 1/2] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Amy Kwan via cfe-commits
https://github.com/amy-kwan updated https://github.com/llvm/llvm-project/pull/79252 >From 87d6776702976983d0757390811c84142d345591 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Tue, 23 Jan 2024 22:19:49 -0600 Subject: [PATCH 1/2] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Amy Kwan via cfe-commits
@@ -4,6 +4,9 @@ ; RUN: < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED ; RUN: not llc -mtriple powerpc64le-unknown-linux-gnu -ppc-asm-full-reg-names \ ; RUN: < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED +; RUN: not llc -mtriple

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-25 Thread Stefan Pintilie via cfe-commits
@@ -4,6 +4,9 @@ ; RUN: < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED ; RUN: not llc -mtriple powerpc64le-unknown-linux-gnu -ppc-asm-full-reg-names \ ; RUN: < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOT-SUPPORTED +; RUN: not llc -mtriple

[llvm] [clang] [AIX][TLS] Disallow the use of -maix-small-local-exec-tls and -fno-data-sections (PR #79252)

2024-01-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Amy Kwan (amy-kwan) Changes This patch disallows the use of the -maix-small-local-exec-tls and -fno-data-sections options within clang, and also disallows the use of the aix-small-local-exec-tls