[clang] [clang] [MinGW] Handle linking ARM64EC code (PR #78912)

2024-01-30 Thread Billy Laws via cfe-commits
https://github.com/bylaws updated https://github.com/llvm/llvm-project/pull/78912 >From 2593e41ef9a4f0d40908e6e25c1d9d7aeddc4f43 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Wed, 18 Oct 2023 21:23:38 +0100 Subject: [PATCH] [clang] [MinGW] Handle linking ARM64EC code --- clang/lib/Driver/To

[clang] [clang] [MinGW] Handle linking ARM64EC code (PR #78912)

2024-01-30 Thread Billy Laws via cfe-commits
bylaws wrote: > Code wise, this seems good, but I think we'd like to have a testcase for it. Added a test https://github.com/llvm/llvm-project/pull/78912 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[clang] [Preprocessor][test] Test ARM64EC definitions (PR #78916)

2024-01-23 Thread Billy Laws via cfe-commits
https://github.com/bylaws updated https://github.com/llvm/llvm-project/pull/78916 >From 76e6e6fb01868a73c0c35c1a8a04ac34af2ea088 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sun, 21 Jan 2024 22:55:44 + Subject: [PATCH] [Preprocessor][test] Test ARM64EC definitions --- clang/test/Prepro

[clang] [Preprocessor][test] Test ARM64EC definitions (PR #78916)

2024-01-23 Thread Billy Laws via cfe-commits
bylaws wrote: @efriedma-quic should be fixed https://github.com/llvm/llvm-project/pull/78916 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Preprocessor][test] Test ARM64EC definitions (PR #78916)

2024-01-23 Thread Billy Laws via cfe-commits
https://github.com/bylaws edited https://github.com/llvm/llvm-project/pull/78916 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define __USER_LABEL_PREFIX__ to # for ARM64EC (PR #78913)

2024-01-23 Thread Billy Laws via cfe-commits
https://github.com/bylaws closed https://github.com/llvm/llvm-project/pull/78913 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define __USER_LABEL_PREFIX__ to # for ARM64EC (PR #78913)

2024-01-23 Thread Billy Laws via cfe-commits
bylaws wrote: @efriedma-quic Fair enough, I found this cleaned up things on the compiler-rt side but even then it still needed changes to handle concatenating a #, and I'd imagine that to be the same for any other existing user. It would still be nice to have something equivalent to A64NAME fo

[clang] [clang] [MinGW] Handle linking ARM64EC code (PR #78912)

2024-01-21 Thread Billy Laws via cfe-commits
https://github.com/bylaws created https://github.com/llvm/llvm-project/pull/78912 Depends on #78911. CC: @cjacek >From 9e72d5c3cd2be7e0967a3f9d7c0d1231e6e97128 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Wed, 18 Oct 2023 21:23:38 +0100 Subject: [PATCH] [clang] [MinGW] Handle linking ARM64

[clang] [Clang][AArch64] Define __USER_LABEL_PREFIX__ to # for ARM64EC (PR #78913)

2024-01-21 Thread Billy Laws via cfe-commits
https://github.com/bylaws created https://github.com/llvm/llvm-project/pull/78913 This is required so that the linker knows that any symbols defined in assembly code are ARM64EC rather than X86_64. CC: @cjacek >From 4e2390bd8ec88af0bae6bb4fa99ebef1f966849a Mon Sep 17 00:00:00 2001 From: Bill

[clang] [Preprocessor][test] Test ARM64EC definitions (PR #78916)

2024-01-21 Thread Billy Laws via cfe-commits
https://github.com/bylaws created https://github.com/llvm/llvm-project/pull/78916 Depends on #78913 >From 1d7b70df850e61d6b28664b9e25272b960a869eb Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sun, 21 Jan 2024 22:55:44 + Subject: [PATCH] [Preprocessor][test] Test ARM64EC definitions ---

[clang] [Clang][AArch64] Define __USER_LABEL_PREFIX__ to # for ARM64EC (PR #78913)

2024-01-21 Thread Billy Laws via cfe-commits
@@ -1462,10 +1462,12 @@ WindowsARM64TargetInfo::WindowsARM64TargetInfo(const llvm::Triple &Triple, } void WindowsARM64TargetInfo::setDataLayout() { - resetDataLayout(Triple.isOSBinFormatMachO() - ? "e-m:o-i64:64-i128:128-n32:64-S128" -

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Billy Laws via cfe-commits
https://github.com/bylaws created https://github.com/llvm/llvm-project/pull/65420: The ARM64EC ABI requires that struct layouts match between regular x86_64 code and ARM64EC code. Ensure this is always the case by defining the same set of macros as are set when targeting x86_64 but with the ad

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Billy Laws via cfe-commits
https://github.com/bylaws review_requested https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Billy Laws via cfe-commits
https://github.com/bylaws review_requested https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-06 Thread Billy Laws via cfe-commits
https://github.com/bylaws updated https://github.com/llvm/llvm-project/pull/65420: >From fafb14fd5795e3a2239afdb5e5ff75ffeb126869 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Tue, 5 Sep 2023 21:56:48 +0100 Subject: [PATCH] [Clang][AArch64] Define x86_64 macros for ARM64EC targets The ARM64E

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-06 Thread Billy Laws via cfe-commits
https://github.com/bylaws resolved https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits