r362808 - Build with _XOPEN_SOURCE defined on AIX

2019-06-08 Thread David Tenty via cfe-commits
Author: daltenty Date: Fri Jun 7 08:45:25 2019 New Revision: 362808 URL: http://llvm.org/viewvc/llvm-project?rev=362808&view=rev Log: Build with _XOPEN_SOURCE defined on AIX Summary: It is useful to build with _XOPEN_SOURCE defined on AIX, enabling X/Open and POSIX compatibility mode, to work ar

[clang] bb6a27f - Add AIX toolchain and basic linker functionality

2019-10-24 Thread David Tenty via cfe-commits
Author: stevewan Date: 2019-10-24T14:47:57-04:00 New Revision: bb6a27fc257faac1339e79c20ae807db70a31ebd URL: https://github.com/llvm/llvm-project/commit/bb6a27fc257faac1339e79c20ae807db70a31ebd DIFF: https://github.com/llvm/llvm-project/commit/bb6a27fc257faac1339e79c20ae807db70a31ebd.diff LOG:

[clang] 76ee21e - Namespace fixup for D68340 build on MSVC

2019-10-24 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-10-24T15:47:08-04:00 New Revision: 76ee21e1d09084288bbfee7f960ce0b9e4306d60 URL: https://github.com/llvm/llvm-project/commit/76ee21e1d09084288bbfee7f960ce0b9e4306d60 DIFF: https://github.com/llvm/llvm-project/commit/76ee21e1d09084288bbfee7f960ce0b9e4306d60.diff L

[clang] 201ed14 - Follow on to Namespace fixup for D68340

2019-10-24 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-10-24T17:01:17-04:00 New Revision: 201ed14aea8cd03e776dbe8484fa7de3ac94a3cf URL: https://github.com/llvm/llvm-project/commit/201ed14aea8cd03e776dbe8484fa7de3ac94a3cf DIFF: https://github.com/llvm/llvm-project/commit/201ed14aea8cd03e776dbe8484fa7de3ac94a3cf.diff L

[clang] 11c2a85 - [NFC] Rename LLVM_NO_DEAD_STRIP

2019-10-25 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-10-25T09:32:00-04:00 New Revision: 11c2a85db8849db1a5907e80d9966592248ef825 URL: https://github.com/llvm/llvm-project/commit/11c2a85db8849db1a5907e80d9966592248ef825 DIFF: https://github.com/llvm/llvm-project/commit/11c2a85db8849db1a5907e80d9966592248ef825.diff L

[clang] 1a2f482 - [Clang] Handle AIX Include management in the driver

2020-07-07 Thread David Tenty via cfe-commits
Author: Shuhong Liu Date: 2020-07-07T11:15:06-04:00 New Revision: 1a2f4824cb2d472649e65f845510ac0e47ca98c1 URL: https://github.com/llvm/llvm-project/commit/1a2f4824cb2d472649e65f845510ac0e47ca98c1 DIFF: https://github.com/llvm/llvm-project/commit/1a2f4824cb2d472649e65f845510ac0e47ca98c1.diff L

[clang] 25ec96d - [Clang][Driver] Recognize the AIX OBJECT_MODE environment setting

2020-07-09 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-07-09T15:15:30-04:00 New Revision: 25ec96d91a3a5326a403496fa5532ff0bdb6a15b URL: https://github.com/llvm/llvm-project/commit/25ec96d91a3a5326a403496fa5532ff0bdb6a15b DIFF: https://github.com/llvm/llvm-project/commit/25ec96d91a3a5326a403496fa5532ff0bdb6a15b.diff L

[clang] [compiler-rt] [AIX] Undefine __STDC_NO_ATOMICS__ to enable c11 atomics functionality (PR #76025)

2023-12-20 Thread David Tenty via cfe-commits
https://github.com/daltenty requested changes to this pull request. Last time I tested this functionality, we had some deadlocks if the standard library interfaces were used, which was part of the motivation for leaving this macro in. It's possible the situation has changed since, but I'd like

[clang] a85cbe8 - Disable autolink_private_module.m for z/OS & AIX

2024-01-09 Thread David Tenty via cfe-commits
Author: Zibi Sarbinowski Date: 2024-01-09T10:33:45-05:00 New Revision: a85cbe8f9036c8771fbf61335eb288eaefcda365 URL: https://github.com/llvm/llvm-project/commit/a85cbe8f9036c8771fbf61335eb288eaefcda365 DIFF: https://github.com/llvm/llvm-project/commit/a85cbe8f9036c8771fbf61335eb288eaefcda365.di

[clang] 2512a87 - [clang] Adding Platform/Architecture Specific Resource Header Installation Targets

2022-04-19 Thread David Tenty via cfe-commits
Author: Qiongsi Wu Date: 2022-04-19T10:10:07-04:00 New Revision: 2512a875ccac158bc9b654b09e3347db167e33df URL: https://github.com/llvm/llvm-project/commit/2512a875ccac158bc9b654b09e3347db167e33df DIFF: https://github.com/llvm/llvm-project/commit/2512a875ccac158bc9b654b09e3347db167e33df.diff LO

[clang] de6ddae - Revert "Don't treat 'T &forward(T&&)' as builtin."

2022-04-20 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-04-20T19:14:36-04:00 New Revision: de6ddaeef3aaa8a9ae3663c12cdb57d9afc0f906 URL: https://github.com/llvm/llvm-project/commit/de6ddaeef3aaa8a9ae3663c12cdb57d9afc0f906 DIFF: https://github.com/llvm/llvm-project/commit/de6ddaeef3aaa8a9ae3663c12cdb57d9afc0f906.diff L

[clang] 98d911e - Revert "Treat `std::move`, `forward`, etc. as builtins."

2022-04-20 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-04-20T19:14:37-04:00 New Revision: 98d911e01f3ac62a9f78850b4209effcf2f54c91 URL: https://github.com/llvm/llvm-project/commit/98d911e01f3ac62a9f78850b4209effcf2f54c91 DIFF: https://github.com/llvm/llvm-project/commit/98d911e01f3ac62a9f78850b4209effcf2f54c91.diff L

[clang] aa643f4 - Fixup D123950 to address revert of D123345

2022-04-20 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-04-20T19:59:07-04:00 New Revision: aa643f455a5362de7189eac630050d2c8aefe8f2 URL: https://github.com/llvm/llvm-project/commit/aa643f455a5362de7189eac630050d2c8aefe8f2 DIFF: https://github.com/llvm/llvm-project/commit/aa643f455a5362de7189eac630050d2c8aefe8f2.diff L

[clang] a70cf56 - Reland: [clang] Adding Platform/Architecture Specific Resource Header Installation Targets

2022-04-28 Thread David Tenty via cfe-commits
Author: Qiongsi Wu Date: 2022-04-29T00:03:06-04:00 New Revision: a70cf56d20b956fc008d24420e14226127ba9f4a URL: https://github.com/llvm/llvm-project/commit/a70cf56d20b956fc008d24420e14226127ba9f4a DIFF: https://github.com/llvm/llvm-project/commit/a70cf56d20b956fc008d24420e14226127ba9f4a.diff LO

[clang] d9c1d3c - [clang][AIX] Don't ignore XCOFF visibility by default

2022-05-11 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-05-11T13:27:48-04:00 New Revision: d9c1d3cbcb9751a6a82cc5e4ada0533cbbc79a1a URL: https://github.com/llvm/llvm-project/commit/d9c1d3cbcb9751a6a82cc5e4ada0533cbbc79a1a DIFF: https://github.com/llvm/llvm-project/commit/d9c1d3cbcb9751a6a82cc5e4ada0533cbbc79a1a.diff L

[clang] 9519dac - Revert "[NFC][tests][AIX] XFAIL test for lack of visibility support"

2022-05-11 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-05-11T20:47:48-04:00 New Revision: 9519dacab7b8afd537811fc2abaceb4d14f4e16a URL: https://github.com/llvm/llvm-project/commit/9519dacab7b8afd537811fc2abaceb4d14f4e16a DIFF: https://github.com/llvm/llvm-project/commit/9519dacab7b8afd537811fc2abaceb4d14f4e16a.diff L

[clang] XFAIL clang/Driver/compress.c on AIX (PR #87269)

2024-04-01 Thread David Tenty via cfe-commits
@@ -1,5 +1,9 @@ +// XFAIL: system-aix + // REQUIRES: zlib +; XFAIL: target={{.*}}-aix{{.*}} daltenty wrote: You should use the C++ comment format here: ```suggestion // XFAIL: target={{.*}}-aix{{.*}} ``` https://github.com/llvm/llvm-project/pull/87269 ___

[clang] XFAIL clang/Driver/compress.c on AIX (PR #87269)

2024-04-01 Thread David Tenty via cfe-commits
https://github.com/daltenty edited https://github.com/llvm/llvm-project/pull/87269 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind][AIX] static_cast the value from getLR() to avoid the warning from -Wconversion (PR #69767)

2023-10-24 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/69767 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 699089f - [AIX][Clang][Driver] Add handling of nostartfiles option

2020-09-21 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-09-21T10:42:46-04:00 New Revision: 699089f2a9702baa987dc2dbe915a2c845c7027f URL: https://github.com/llvm/llvm-project/commit/699089f2a9702baa987dc2dbe915a2c845c7027f DIFF: https://github.com/llvm/llvm-project/commit/699089f2a9702baa987dc2dbe915a2c845c7027f.diff L

[clang] d854042 - [AIX][Clang][Driver] Add handling of shared option

2020-09-21 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-09-21T14:03:08-04:00 New Revision: d8540427419ec0c4b9bc02f432ef39c01898e826 URL: https://github.com/llvm/llvm-project/commit/d8540427419ec0c4b9bc02f432ef39c01898e826 DIFF: https://github.com/llvm/llvm-project/commit/d8540427419ec0c4b9bc02f432ef39c01898e826.diff L

[clang] e8fb4eb - [AIX][clang][driver] Make sure crti[_64].o is linked in C++ mode

2020-09-22 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-09-22T09:55:06-04:00 New Revision: e8fb4eba4fb6cbda661080d76059f2b130df5020 URL: https://github.com/llvm/llvm-project/commit/e8fb4eba4fb6cbda661080d76059f2b130df5020 DIFF: https://github.com/llvm/llvm-project/commit/e8fb4eba4fb6cbda661080d76059f2b130df5020.diff L

[clang] ee80615 - [clang][driver][AIX] Set compiler-rt as default rtlib

2020-09-28 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-09-28T19:45:43-04:00 New Revision: ee80615b5c1c5b15c90a92d6954007b3a82825b0 URL: https://github.com/llvm/llvm-project/commit/ee80615b5c1c5b15c90a92d6954007b3a82825b0 DIFF: https://github.com/llvm/llvm-project/commit/ee80615b5c1c5b15c90a92d6954007b3a82825b0.diff L

[clang] afc277b - [AIX][Clang][Driver] Link libm in c++ mode

2020-09-30 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-09-30T14:02:17-04:00 New Revision: afc277b0ed0dcd9fbbde6015bbdf289349fb2104 URL: https://github.com/llvm/llvm-project/commit/afc277b0ed0dcd9fbbde6015bbdf289349fb2104 DIFF: https://github.com/llvm/llvm-project/commit/afc277b0ed0dcd9fbbde6015bbdf289349fb2104.diff L

[clang] 7942ebd - [clang] Add cc1 option for dumping layout for all complete types

2021-06-22 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2021-06-22T16:27:26-04:00 New Revision: 7942ebdf01b35fae240cd8a0550a3da9f03615c4 URL: https://github.com/llvm/llvm-project/commit/7942ebdf01b35fae240cd8a0550a3da9f03615c4 DIFF: https://github.com/llvm/llvm-project/commit/7942ebdf01b35fae240cd8a0550a3da9f03615c4.diff L

[clang] 66799bf - [AIX][clang][driver] Restrict /usr/lib to internal library search paths

2021-03-03 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2021-03-03T10:48:35-05:00 New Revision: 66799bf0e281099f05b781e5279a7025b1e365cf URL: https://github.com/llvm/llvm-project/commit/66799bf0e281099f05b781e5279a7025b1e365cf DIFF: https://github.com/llvm/llvm-project/commit/66799bf0e281099f05b781e5279a7025b1e365cf.diff L

[clang] 6a86730 - Reland [clang][AIX] add option mdefault-visibility-export-mapping

2022-06-13 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-06-13T13:43:46-04:00 New Revision: 6a8673038b0c7e20962d732515cd2cd4812f52ef URL: https://github.com/llvm/llvm-project/commit/6a8673038b0c7e20962d732515cd2cd4812f52ef DIFF: https://github.com/llvm/llvm-project/commit/6a8673038b0c7e20962d732515cd2cd4812f52ef.diff L

[clang] 8c974bf - Reland: unbreak Modules/cxx20-export-import.cpp with LLVM_APPEND_VC_REV after 8c8a2679a20f

2022-06-13 Thread David Tenty via cfe-commits
Author: Nico Weber Date: 2022-06-13T13:45:13-04:00 New Revision: 8c974bfe1cb944a760d3b838aec4179577d0c3f5 URL: https://github.com/llvm/llvm-project/commit/8c974bfe1cb944a760d3b838aec4179577d0c3f5 DIFF: https://github.com/llvm/llvm-project/commit/8c974bfe1cb944a760d3b838aec4179577d0c3f5.diff LO

[clang] 8c8a267 - [clang][AIX] add option mdefault-visibility-export-mapping

2022-06-01 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-06-01T18:07:17-04:00 New Revision: 8c8a2679a20f621994fa904bcfc68775e7345edc URL: https://github.com/llvm/llvm-project/commit/8c8a2679a20f621994fa904bcfc68775e7345edc DIFF: https://github.com/llvm/llvm-project/commit/8c8a2679a20f621994fa904bcfc68775e7345edc.diff L

[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-17 Thread David Tenty via cfe-commits
https://github.com/daltenty created https://github.com/llvm/llvm-project/pull/69363 We don't properly check the boolean pthread option in the AIX toolchain, so we don't respect the no- form of the option. >From 560bf7329998e88d0ba12a2030b376d4a5aa173b Mon Sep 17 00:00:00 2001 From: David Tenty

[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-17 Thread David Tenty via cfe-commits
https://github.com/daltenty updated https://github.com/llvm/llvm-project/pull/69363 >From 560bf7329998e88d0ba12a2030b376d4a5aa173b Mon Sep 17 00:00:00 2001 From: David Tenty Date: Tue, 17 Oct 2023 11:53:55 -0400 Subject: [PATCH 1/2] [AIX][clang][driver] fix no-pthread option We don't properly

[clang] cf08c10 - [NFC][clang] add extra member-alignment testcase

2023-07-05 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2023-07-05T16:44:05-04:00 New Revision: cf08c103266b7ee59cbc2352c4d20f27472cb257 URL: https://github.com/llvm/llvm-project/commit/cf08c103266b7ee59cbc2352c4d20f27472cb257 DIFF: https://github.com/llvm/llvm-project/commit/cf08c103266b7ee59cbc2352c4d20f27472cb257.diff L

[clang] b888caf - XFAIL hidden-duplicates.m for AIX and zOS

2022-11-22 Thread David Tenty via cfe-commits
Author: Nancy Wang Date: 2022-11-22T16:26:06-05:00 New Revision: b888cafcbc0a16f68bc0ebea495920b952290ea2 URL: https://github.com/llvm/llvm-project/commit/b888cafcbc0a16f68bc0ebea495920b952290ea2 DIFF: https://github.com/llvm/llvm-project/commit/b888cafcbc0a16f68bc0ebea495920b952290ea2.diff LO

[clang] 23df0c7 - Revert "[NFC] Rename LLVM_NO_DEAD_STRIP"

2019-10-30 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-10-30T14:56:20-04:00 New Revision: 23df0c783c7053ddcdf665ebc8ddda350abd5bf2 URL: https://github.com/llvm/llvm-project/commit/23df0c783c7053ddcdf665ebc8ddda350abd5bf2 DIFF: https://github.com/llvm/llvm-project/commit/23df0c783c7053ddcdf665ebc8ddda350abd5bf2.diff L

[clang] 6740a88 - [NFC] Add SUPPORT_PLUGINS to add_llvm_executable()

2019-11-06 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-11-06T14:32:35-05:00 New Revision: 6740a88dc18d0be14926a5e709bd5062e31ee81c URL: https://github.com/llvm/llvm-project/commit/6740a88dc18d0be14926a5e709bd5062e31ee81c DIFF: https://github.com/llvm/llvm-project/commit/6740a88dc18d0be14926a5e709bd5062e31ee81c.diff L

[clang] a38fc61 - [AIX] Disable clang python binding tests

2019-11-26 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2019-11-26T15:30:38-05:00 New Revision: a38fc61648797a10629ed160779b5df6b8d577e7 URL: https://github.com/llvm/llvm-project/commit/a38fc61648797a10629ed160779b5df6b8d577e7 DIFF: https://github.com/llvm/llvm-project/commit/a38fc61648797a10629ed160779b5df6b8d577e7.diff L

[clang] 3ebfab7 - Add AIX assembler support

2019-12-02 Thread David Tenty via cfe-commits
Author: stevewan Date: 2019-12-02T11:29:36-05:00 New Revision: 3ebfab709583cfa7635693b123e56f76a1de765b URL: https://github.com/llvm/llvm-project/commit/3ebfab709583cfa7635693b123e56f76a1de765b DIFF: https://github.com/llvm/llvm-project/commit/3ebfab709583cfa7635693b123e56f76a1de765b.diff LOG:

[clang] 58817a0 - [clang][XCOFF] Indicate that XCOFF does not support COMDATs

2020-02-18 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2020-02-18T16:10:11-05:00 New Revision: 58817a0783ca405cd36a312c7ee80e061d1cecc5 URL: https://github.com/llvm/llvm-project/commit/58817a0783ca405cd36a312c7ee80e061d1cecc5 DIFF: https://github.com/llvm/llvm-project/commit/58817a0783ca405cd36a312c7ee80e061d1cecc5.diff L

[clang] 2fe49ea - [clang][PowerPC] Remove remaining Darwin support

2023-03-28 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2023-03-28T17:12:49-04:00 New Revision: 2fe49ea0d07d503aedd0872bf0a66724552d4dcf URL: https://github.com/llvm/llvm-project/commit/2fe49ea0d07d503aedd0872bf0a66724552d4dcf DIFF: https://github.com/llvm/llvm-project/commit/2fe49ea0d07d503aedd0872bf0a66724552d4dcf.diff L

[clang] 9a733e8 - [clang][driver] accept maix32/maix64 gcc compat options

2023-03-13 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2023-03-13T17:05:52-04:00 New Revision: 9a733e8a2c58957591e4dc0a02f9cfa6a06603de URL: https://github.com/llvm/llvm-project/commit/9a733e8a2c58957591e4dc0a02f9cfa6a06603de DIFF: https://github.com/llvm/llvm-project/commit/9a733e8a2c58957591e4dc0a02f9cfa6a06603de.diff L

[clang] 8d2e9fc - [PowerPC] Add function pointer alignment to DataLayout

2023-04-18 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2023-04-18T13:00:27-04:00 New Revision: 8d2e9fc8553c91b1f22e82ffc2c00020f40bb0a2 URL: https://github.com/llvm/llvm-project/commit/8d2e9fc8553c91b1f22e82ffc2c00020f40bb0a2 DIFF: https://github.com/llvm/llvm-project/commit/8d2e9fc8553c91b1f22e82ffc2c00020f40bb0a2.diff L

[libunwind] c9aff5d - Revert "[libunwind] Use .irp directives. NFC"

2022-12-07 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-12-07T15:41:29-05:00 New Revision: c9aff5d2f9d93636009ae389824f3beacfcbc7b7 URL: https://github.com/llvm/llvm-project/commit/c9aff5d2f9d93636009ae389824f3beacfcbc7b7 DIFF: https://github.com/llvm/llvm-project/commit/c9aff5d2f9d93636009ae389824f3beacfcbc7b7.diff L

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -0,0 +1,120 @@ +//=== PPCTargetParser.cpp - Parser for target features --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -1963,8 +1964,11 @@ void Clang::AddPPCTargetArgs(const ArgList &Args, const llvm::Triple &T = getToolChain().getTriple(); if (Args.getLastArg(options::OPT_mtune_EQ)) { daltenty wrote: See below: ```suggestion if (Arg *A = Args.getLastArg(options::OPT_m

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -85,8 +85,59 @@ #define AIX_PPC9_VALUE 0x0002 #define AIX_PPC10_VALUE 0x0004 -// __builtin_cpu_is() and __builtin_cpu_supports() are supported only on Power7 and up on AIX. // PPC_CPU(Name, Linux_SUPPORT_METHOD, LinuxID, AIX_SUPPORT_METHOD, AIXID) + +// Valid CPUs

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -85,8 +85,59 @@ #define AIX_PPC9_VALUE 0x0002 #define AIX_PPC10_VALUE 0x0004 -// __builtin_cpu_is() and __builtin_cpu_supports() are supported only on Power7 and up on AIX. // PPC_CPU(Name, Linux_SUPPORT_METHOD, LinuxID, AIX_SUPPORT_METHOD, AIXID) + +// Valid CPUs

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -1,52 +1,60 @@ -// RUN: echo "int main() { return __builtin_cpu_is(\"ppc970\");}" > %t.c +// RUN: echo "int main() { return __builtin_cpu_is(\"ppc970\");}" > %t.c // RUN: %clang_cc1 -triple powerpc-ibm-aix7.2.0.0 -emit-llvm -o - %t.c | FileCheck %s -// RUN: echo "int main(

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-03 Thread David Tenty via cfe-commits
@@ -1963,8 +1964,11 @@ void Clang::AddPPCTargetArgs(const ArgList &Args, const llvm::Triple &T = getToolChain().getTriple(); if (Args.getLastArg(options::OPT_mtune_EQ)) { CmdArgs.push_back("-tune-cpu"); -std::string CPU = ppc::getPPCTuneCPU(Args, T); -CmdArgs.pu

[clang] [clang][AIX] set OpenMP include path (PR #88545)

2024-04-17 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/88545 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] XFAIL clang/Driver/test/compress.c on AIX (PR #87269)

2024-04-18 Thread David Tenty via cfe-commits
https://github.com/daltenty closed https://github.com/llvm/llvm-project/pull/87269 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-23 Thread David Tenty via cfe-commits
https://github.com/daltenty closed https://github.com/llvm/llvm-project/pull/99511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread David Tenty via cfe-commits
https://github.com/daltenty closed https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-23 Thread David Tenty via cfe-commits
daltenty wrote: /cherry-pick 1df4d86 https://github.com/llvm/llvm-project/pull/99511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-23 Thread David Tenty via cfe-commits
https://github.com/daltenty milestoned https://github.com/llvm/llvm-project/pull/99511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread David Tenty via cfe-commits
daltenty wrote: /cherry-pick 63b382b https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind] fix unwinding from signal handler (PR #92291)

2024-07-26 Thread David Tenty via cfe-commits
daltenty wrote: This is breaking a number of tests for the UBSAN on AIX, the traceback produced by the runtime are no longer correct. Before this change: ``` UndefinedBehaviorSanitizer:DEADLYSIGNAL ==52887862==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x (pc 0x1784

[libunwind] [libunwind][AIX] Fix the wrong traceback from signal handler (PR #101069)

2024-07-29 Thread David Tenty via cfe-commits
https://github.com/daltenty milestoned https://github.com/llvm/llvm-project/pull/101069 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind][AIX] Fix the wrong traceback from signal handler (PR #101069)

2024-07-29 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/101069 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-19 Thread David Tenty via cfe-commits
@@ -0,0 +1,122 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; ; This test is a copy of mma-acc-spill.ll except that it uses mcpu=pwr11. +; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ +; RUN: -mcpu=pwr11 -ppc-asm-f

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-22 Thread David Tenty via cfe-commits
https://github.com/daltenty commented: Should there be a lit test for the linux part as well? https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-22 Thread David Tenty via cfe-commits
https://github.com/daltenty edited https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-22 Thread David Tenty via cfe-commits
@@ -103,6 +105,7 @@ PPC_CPU("ppc476",SYS_CALL,44,BUILTIN_PPC_FALSE,0) PPC_CPU("power8",SYS_CALL,45,USE_SYS_CONF,AIX_PPC8_VALUE) PPC_CPU("power9",SYS_CALL,46,USE_SYS_CONF,AIX_PPC9_VALUE) PPC_CPU("power10",SYS_CALL,47,USE_SYS_CONF,AIX_PPC10_VALUE) +PPC_CPU("power11",SYS_CALL,48,U

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-22 Thread David Tenty via cfe-commits
@@ -84,6 +85,7 @@ #define AIX_PPC8_VALUE 0x0001 #define AIX_PPC9_VALUE 0x0002 #define AIX_PPC10_VALUE 0x0004 +#define AIX_PPC11_VALUE 0x0008 daltenty wrote: We've discussed with the AIX OS team, and this is the value in their development build

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-22 Thread David Tenty via cfe-commits
@@ -632,13 +632,33 @@ // PPCPOWER10:#define __PCREL__ 1 // PPCPOWER10-NOT:#define __ROP_PROTECT__ 1 // +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu pwr11 -fno-signed-char < /dev/null | FileCheck -match-full-lines -check-prefix PPCPOWER11 %

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-22 Thread David Tenty via cfe-commits
@@ -3485,9 +3485,11 @@ unsigned PPCInstrInfo::getSpillTarget() const { // With P10, we may need to spill paired vector registers or accumulator // registers. MMA implies paired vectors, so we can just check that. bool IsP10Variant = Subtarget.isISA3_1() || Subtarget.paire

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-22 Thread David Tenty via cfe-commits
@@ -156,6 +164,14 @@ enum PPCMachineCombinerPattern : unsigned { NoInstr, NoInstr, PPC::SPILL_QUADWORD \ } +#define Pwr11StoreOpcodes \ daltenty wrote: Ditto: re

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-22 Thread David Tenty via cfe-commits
@@ -124,6 +124,14 @@ enum PPCMachineCombinerPattern : unsigned { PPC::RESTORE_UACC, NoInstr, NoInstr, PPC::RESTORE_QUADWORD \ } +#define Pwr11LoadOpcodes \ daltenty wrote: Ditto ear

[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

2024-07-22 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. Sorry for the delay, LGTM https://github.com/llvm/llvm-project/pull/97541 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-22 Thread David Tenty via cfe-commits
daltenty wrote: > > Should there be a lit test for the linux part as well? > > Is there a pre-existing test already, or should I add a new one? I can't seem > to find an equivalent to `clang/test/CodeGen/aix-builtin-cpu-is.c` There's an existing `ppc64le` block in `clang/test/CodeGen/builtin-

[clang] [llvm] [PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (PR #99511)

2024-07-22 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/99511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AIX] Fix -print-runtime-dir on AIX (PR #104806)

2024-08-30 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/104806 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind][AIX] Cast NULL as type uintptr_t. (PR #93204)

2024-05-23 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, assuming the CI passes https://github.com/llvm/llvm-project/pull/93204 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 9939bb6 - [NFC][AIX][clang] un-XFAIL gcc profile flag compat test

2022-01-28 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-01-28T11:18:55-05:00 New Revision: 9939bb6682128235c9f0f6076d15ae5191d2dd05 URL: https://github.com/llvm/llvm-project/commit/9939bb6682128235c9f0f6076d15ae5191d2dd05 DIFF: https://github.com/llvm/llvm-project/commit/9939bb6682128235c9f0f6076d15ae5191d2dd05.diff L

[clang] 27ee911 - [AIX][clang] include_next through clang provided float.h

2022-01-28 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2022-01-28T13:27:10-05:00 New Revision: 27ee91162dd3f01d692e8f092903dd79f4e54348 URL: https://github.com/llvm/llvm-project/commit/27ee91162dd3f01d692e8f092903dd79f4e54348 DIFF: https://github.com/llvm/llvm-project/commit/27ee91162dd3f01d692e8f092903dd79f4e54348.diff L

[clang] 1f3925e - [clang][driver][AIX] Add system libc++ header paths to driver

2021-09-15 Thread David Tenty via cfe-commits
Author: David Tenty Date: 2021-09-15T10:41:18-04:00 New Revision: 1f3925e25ae010c30273501d24b2bd4e0318fe7a URL: https://github.com/llvm/llvm-project/commit/1f3925e25ae010c30273501d24b2bd4e0318fe7a DIFF: https://github.com/llvm/llvm-project/commit/1f3925e25ae010c30273501d24b2bd4e0318fe7a.diff L

[clang] [clang][AIX] Fix -print-runtime-dir on AIX (PR #104806)

2024-08-19 Thread David Tenty via cfe-commits
daltenty wrote: I think you should add a test similar to this one: https://github.com/llvm/llvm-project/blob/main/clang/test/Driver/darwin-print-runtime-dir.c https://github.com/llvm/llvm-project/pull/104806 ___ cfe-commits mailing list cfe-commits@li

[clang] [Clang] Add support for -rpath on AIX (PR #89279)

2025-01-16 Thread David Tenty via cfe-commits
https://github.com/daltenty approved this pull request. LGTM, thanks! https://github.com/llvm/llvm-project/pull/89279 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Add support for -rpath on AIX (PR #89279)

2025-02-21 Thread David Tenty via cfe-commits
https://github.com/daltenty closed https://github.com/llvm/llvm-project/pull/89279 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits