[clang] [llvm] [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (PR #90702)

2024-05-02 Thread Tim Northover via cfe-commits
@@ -1480,11 +1480,11 @@ AArch64leTargetInfo::AArch64leTargetInfo(const llvm::Triple &Triple, void AArch64leTargetInfo::setDataLayout() { if (getTriple().isOSBinFormatMachO()) { if(getTriple().isArch32Bit()) - resetDataLayout("e-m:o-p:32:32-i64:64-i128:128-n32:64-S12

[clang] 7a8cf95 - AArch64-Darwin: allow -mcmodel=large with (default) PIC

2024-04-04 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2024-04-04T10:25:30+01:00 New Revision: 7a8cf951b3bdc60feac412200ab9661e009d44ae URL: https://github.com/llvm/llvm-project/commit/7a8cf951b3bdc60feac412200ab9661e009d44ae DIFF: https://github.com/llvm/llvm-project/commit/7a8cf951b3bdc60feac412200ab9661e009d44ae.diff

[clang] AArch64: add __builtin_arm_trap (PR #85054)

2024-03-14 Thread Tim Northover via cfe-commits
TNorthover wrote: Thanks. Good idea on the docs, I've added some wording and pushed the change (4299c727e480) https://github.com/llvm/llvm-project/pull/85054 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[clang] AArch64: add __builtin_arm_trap (PR #85054)

2024-03-14 Thread Tim Northover via cfe-commits
https://github.com/TNorthover closed https://github.com/llvm/llvm-project/pull/85054 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4299c72 - AArch64: add __builtin_arm_trap

2024-03-14 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2024-03-14T11:32:44Z New Revision: 4299c727e4806aa55398ad23da48a401554cd432 URL: https://github.com/llvm/llvm-project/commit/4299c727e4806aa55398ad23da48a401554cd432 DIFF: https://github.com/llvm/llvm-project/commit/4299c727e4806aa55398ad23da48a401554cd432.diff LOG:

[clang] AArch64: add __builtin_arm_trap (PR #85054)

2024-03-13 Thread Tim Northover via cfe-commits
https://github.com/TNorthover created https://github.com/llvm/llvm-project/pull/85054 It's useful to provide an indicator code with the trap, which the generic __builtin_trap can't do. asm("brk #N") is an option, but following that with a __builtin_unreachable() leads to two traps when the com

[llvm] [libcxxabi] [clang-tools-extra] [compiler-rt] [clang] [mlir] [libc] [openmp] [libcxx] [flang] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-30 Thread Tim Northover via cfe-commits
https://github.com/TNorthover approved this pull request. https://github.com/llvm/llvm-project/pull/78632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libc] [compiler-rt] [libcxxabi] [llvm] [clang-tools-extra] [flang] [libcxx] [mlir] [clang] [openmp] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-30 Thread Tim Northover via cfe-commits
https://github.com/TNorthover edited https://github.com/llvm/llvm-project/pull/78632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[mlir] [libcxxabi] [openmp] [clang-tools-extra] [libc] [clang] [llvm] [libcxx] [compiler-rt] [flang] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-30 Thread Tim Northover via cfe-commits
@@ -21248,6 +21248,61 @@ static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) { return SDValue(); } +// A custom combine to lower load <3 x i8> as the more efficient sequence +// below: +//ldrb wX, [x0, #2] +//ldrh wY, [x0] +//orr wX, wY, wX, lsl #16

[llvm] [libcxxabi] [clang-tools-extra] [compiler-rt] [clang] [mlir] [libc] [openmp] [libcxx] [flang] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-30 Thread Tim Northover via cfe-commits
TNorthover wrote: I'm happier with that, I think. Just one typo I spotted in the new version but no need to reupload. https://github.com/llvm/llvm-project/pull/78632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[libcxxabi] [llvm] [compiler-rt] [openmp] [mlir] [libcxx] [clang-tools-extra] [flang] [clang] [libc] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
@@ -11012,6 +11012,50 @@ SDValue ReconstructShuffleWithRuntimeMask(SDValue Op, SelectionDAG &DAG) { MaskSourceVec); } +// Check if Op is a BUILD_VECTOR with 2 extracts and a load that is cheaper to +// insert into a vector and use a shuffle. This improves lowering for l

[libcxxabi] [compiler-rt] [llvm] [flang] [libc] [openmp] [libcxx] [clang] [mlir] [clang-tools-extra] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
https://github.com/TNorthover edited https://github.com/llvm/llvm-project/pull/78632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [openmp] [libcxx] [flang] [compiler-rt] [mlir] [llvm] [libcxxabi] [clang-tools-extra] [libc] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
https://github.com/TNorthover commented: Not a fan, but if we must then I think there might still be some gaps... https://github.com/llvm/llvm-project/pull/78632 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[libc] [clang] [compiler-rt] [libcxxabi] [clang-tools-extra] [flang] [libcxx] [openmp] [llvm] [mlir] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
@@ -21248,6 +21297,51 @@ static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) { return SDValue(); } +// A custom combine to lower load <3 x i8> as the more efficient sequence +// below: +//ldrb wX, [x0, #2] +//ldrh wY, [x0] +//orr wX, wY, wX, lsl #16

[llvm] [mlir] [libc] [libcxxabi] [flang] [openmp] [compiler-rt] [clang-tools-extra] [libcxx] [clang] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
@@ -11012,6 +11012,50 @@ SDValue ReconstructShuffleWithRuntimeMask(SDValue Op, SelectionDAG &DAG) { MaskSourceVec); } +// Check if Op is a BUILD_VECTOR with 2 extracts and a load that is cheaper to +// insert into a vector and use a shuffle. This improves lowering for l

[libc] [openmp] [llvm] [clang] [flang] [clang-tools-extra] [compiler-rt] [libcxx] [libcxxabi] [mlir] [AArch64] Add custom lowering for load <3 x i8>. (PR #78632)

2024-01-29 Thread Tim Northover via cfe-commits
@@ -11012,6 +11012,50 @@ SDValue ReconstructShuffleWithRuntimeMask(SDValue Op, SelectionDAG &DAG) { MaskSourceVec); } +// Check if Op is a BUILD_VECTOR with 2 extracts and a load that is cheaper to +// insert into a vector and use a shuffle. This improves lowering for l

[llvm] [clang] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-29 Thread Tim Northover via cfe-commits
https://github.com/TNorthover closed https://github.com/llvm/llvm-project/pull/73499 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-29 Thread Tim Northover via cfe-commits
TNorthover wrote: Push was to resolve merge conflicts. https://github.com/llvm/llvm-project/pull/73499 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-29 Thread Tim Northover via cfe-commits
https://github.com/TNorthover updated https://github.com/llvm/llvm-project/pull/73499 >From 61e58d0eb96f9443e13879c3055d3d32b33dc2d4 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Wed, 22 Nov 2023 14:10:31 + Subject: [PATCH] AArch64: add support for currently released Apple CPUs. These

[clang] [llvm] AArch64: add support for currently released Apple CPUs. (PR #73499)

2023-11-27 Thread Tim Northover via cfe-commits
https://github.com/TNorthover created https://github.com/llvm/llvm-project/pull/73499 These are still v8.6a and have no real changes as far as LLVM cares, so it's mostly just a copy/paste job (actually from https://github.com/llvm/llvm-project/pull/73497 rather than `main` as I write this).

[clang] 211055c - AArch64: emit synchronous unwind for Darwin arm64_32 platforms too.

2023-05-23 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2023-05-23T13:15:32+01:00 New Revision: 211055c7443e5594863ec95754e22f66e66aecc5 URL: https://github.com/llvm/llvm-project/commit/211055c7443e5594863ec95754e22f66e66aecc5 DIFF: https://github.com/llvm/llvm-project/commit/211055c7443e5594863ec95754e22f66e66aecc5.diff

[clang] d3aed4f - MachO use generic code to detect atomic support.

2023-04-04 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2023-04-04T13:44:45+01:00 New Revision: d3aed4f401fa35ea986d3967c529f4d2b24e2bb6 URL: https://github.com/llvm/llvm-project/commit/d3aed4f401fa35ea986d3967c529f4d2b24e2bb6 DIFF: https://github.com/llvm/llvm-project/commit/d3aed4f401fa35ea986d3967c529f4d2b24e2bb6.diff

[clang] ecec44f - AArch64: remove SM4 support from Apple CPUs.

2023-01-26 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2023-01-26T13:00:36Z New Revision: ecec44f2ae733b3848d4dd71324f5fdc33adc62e URL: https://github.com/llvm/llvm-project/commit/ecec44f2ae733b3848d4dd71324f5fdc33adc62e DIFF: https://github.com/llvm/llvm-project/commit/ecec44f2ae733b3848d4dd71324f5fdc33adc62e.diff LOG:

[clang] e62b3a9 - Unwind-tables: move back to original logic outline for kind.

2022-09-29 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2022-09-29T13:39:06+01:00 New Revision: e62b3a9375d8694efe5bf3d1409bec9be0d288e9 URL: https://github.com/llvm/llvm-project/commit/e62b3a9375d8694efe5bf3d1409bec9be0d288e9 DIFF: https://github.com/llvm/llvm-project/commit/e62b3a9375d8694efe5bf3d1409bec9be0d288e9.diff

[clang] 677da09 - AArch64: add support for newer Apple CPUs

2022-09-22 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2022-09-22T11:58:51+01:00 New Revision: 677da09d0259d7530d32e85cb561bee15f0066e2 URL: https://github.com/llvm/llvm-project/commit/677da09d0259d7530d32e85cb561bee15f0066e2 DIFF: https://github.com/llvm/llvm-project/commit/677da09d0259d7530d32e85cb561bee15f0066e2.diff

[clang] 4388b56 - Refactor unwind table driver interface to expose default level. NFC.

2022-09-20 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2022-09-20T10:47:18+01:00 New Revision: 4388b56d525c08ce3cf941cfbad2428b0e1695b0 URL: https://github.com/llvm/llvm-project/commit/4388b56d525c08ce3cf941cfbad2428b0e1695b0 DIFF: https://github.com/llvm/llvm-project/commit/4388b56d525c08ce3cf941cfbad2428b0e1695b0.diff

[clang] 58f9aba - AAArch64: disable asynchronous unwind by default for MachO.

2022-09-20 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2022-09-20T10:47:18+01:00 New Revision: 58f9abaed4aa148566d5f14afdf473e57b20d687 URL: https://github.com/llvm/llvm-project/commit/58f9abaed4aa148566d5f14afdf473e57b20d687 DIFF: https://github.com/llvm/llvm-project/commit/58f9abaed4aa148566d5f14afdf473e57b20d687.diff

[clang] 4f637c3 - [tests][Driver] Pass an empty sysroot for `DEFAULT_SYSROOT` builds

2022-03-04 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2022-03-04T09:01:50Z New Revision: 4f637c30e1cd2d1d85f4f3b2ab042bfd75ae2865 URL: https://github.com/llvm/llvm-project/commit/4f637c30e1cd2d1d85f4f3b2ab042bfd75ae2865 DIFF: https://github.com/llvm/llvm-project/commit/4f637c30e1cd2d1d85f4f3b2ab042bfd75ae2865.diff LOG:

[clang] f24335c - MachO: fix Clang test broken by dropping private labels in LLVM.

2021-07-15 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-07-15T15:05:08+01:00 New Revision: f24335c69ea363082d922797363e98f1dcb3b14f URL: https://github.com/llvm/llvm-project/commit/f24335c69ea363082d922797363e98f1dcb3b14f DIFF: https://github.com/llvm/llvm-project/commit/f24335c69ea363082d922797363e98f1dcb3b14f.diff

[clang-tools-extra] 48c68a6 - Recommit: Support: add llvm::thread class that supports specifying stack size.

2021-07-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-07-08T16:22:26+01:00 New Revision: 48c68a630e0101c16aa371f9202a4a53438b URL: https://github.com/llvm/llvm-project/commit/48c68a630e0101c16aa371f9202a4a53438b DIFF: https://github.com/llvm/llvm-project/commit/48c68a630e0101c16aa371f9202a4a53438b.diff

[clang] 48c68a6 - Recommit: Support: add llvm::thread class that supports specifying stack size.

2021-07-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-07-08T16:22:26+01:00 New Revision: 48c68a630e0101c16aa371f9202a4a53438b URL: https://github.com/llvm/llvm-project/commit/48c68a630e0101c16aa371f9202a4a53438b DIFF: https://github.com/llvm/llvm-project/commit/48c68a630e0101c16aa371f9202a4a53438b.diff

[clang] 2bf5e8d - Revert "Support: add llvm::thread class that supports specifying stack size."

2021-07-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-07-08T14:59:47+01:00 New Revision: 2bf5e8d953ededbc208bd4c116c9d6331d73f0f0 URL: https://github.com/llvm/llvm-project/commit/2bf5e8d953ededbc208bd4c116c9d6331d73f0f0 DIFF: https://github.com/llvm/llvm-project/commit/2bf5e8d953ededbc208bd4c116c9d6331d73f0f0.diff

[clang] 727e1c9 - Support: add llvm::thread class that supports specifying stack size.

2021-07-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-07-08T14:51:53+01:00 New Revision: 727e1c9be3a5b20c6b502f056d74a681689049d7 URL: https://github.com/llvm/llvm-project/commit/727e1c9be3a5b20c6b502f056d74a681689049d7 DIFF: https://github.com/llvm/llvm-project/commit/727e1c9be3a5b20c6b502f056d74a681689049d7.diff

[clang] e94fada - SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one.

2021-05-28 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-05-28T12:31:12+01:00 New Revision: e94fada045fe88787a414e3307412c1cc3a1b259 URL: https://github.com/llvm/llvm-project/commit/e94fada045fe88787a414e3307412c1cc3a1b259 DIFF: https://github.com/llvm/llvm-project/commit/e94fada045fe88787a414e3307412c1cc3a1b259.diff

[clang] c454200 - AArch64/MacOS: switch default CPU to apple-a13.

2021-03-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-03-08T15:47:05Z New Revision: c4542005dae203dc4cb4e4be22628d4e24b4d5b6 URL: https://github.com/llvm/llvm-project/commit/c4542005dae203dc4cb4e4be22628d4e24b4d5b6 DIFF: https://github.com/llvm/llvm-project/commit/c4542005dae203dc4cb4e4be22628d4e24b4d5b6.diff LOG:

[clang] 888c5c2 - AArch64: report fp16 arithmetic is present for apple-a11 CPU.

2021-03-02 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2021-03-02T15:07:18Z New Revision: 888c5c24cab63091774b7065e6925177bb43787d URL: https://github.com/llvm/llvm-project/commit/888c5c24cab63091774b7065e6925177bb43787d DIFF: https://github.com/llvm/llvm-project/commit/888c5c24cab63091774b7065e6925177bb43787d.diff LOG:

[clang] 152df3a - arm64: count Triple::aarch64_32 as an aarch64 target and enable leaf frame pointers

2020-12-03 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2020-12-03T11:09:44Z New Revision: 152df3add156b68aca7bfb06b62ea85fa127f3b1 URL: https://github.com/llvm/llvm-project/commit/152df3add156b68aca7bfb06b62ea85fa127f3b1 DIFF: https://github.com/llvm/llvm-project/commit/152df3add156b68aca7bfb06b62ea85fa127f3b1.diff LOG:

[clang] 9697a9e - Fix typo in identifier in assert.

2020-07-15 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2020-07-15T09:57:53+01:00 New Revision: 9697a9e2d316f0d9d588f4de536b0a6bbef2810f URL: https://github.com/llvm/llvm-project/commit/9697a9e2d316f0d9d588f4de536b0a6bbef2810f DIFF: https://github.com/llvm/llvm-project/commit/9697a9e2d316f0d9d588f4de536b0a6bbef2810f.diff

[clang] 5165b2b - AArch64+ARM: make LLVM consider system registers volatile.

2020-07-15 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2020-07-15T09:47:36+01:00 New Revision: 5165b2b5fd5fd62c5a34970be81c79231844804c URL: https://github.com/llvm/llvm-project/commit/5165b2b5fd5fd62c5a34970be81c79231844804c DIFF: https://github.com/llvm/llvm-project/commit/5165b2b5fd5fd62c5a34970be81c79231844804c.diff

[clang] 903e5c3 - AArch64: add missing Apple CPU names and use them by default.

2020-01-08 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2020-01-08T09:24:06Z New Revision: 903e5c3028d61481c570c09eeb5e7a920c2d7d38 URL: https://github.com/llvm/llvm-project/commit/903e5c3028d61481c570c09eeb5e7a920c2d7d38 DIFF: https://github.com/llvm/llvm-project/commit/903e5c3028d61481c570c09eeb5e7a920c2d7d38.diff LOG:

[clang] 85cb560 - ConstrainedFP: use API compatible with opaque pointers.

2019-12-19 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-12-19T21:50:47Z New Revision: 85cb560b8a421d950ccea593b4ee0569249dc136 URL: https://github.com/llvm/llvm-project/commit/85cb560b8a421d950ccea593b4ee0569249dc136 DIFF: https://github.com/llvm/llvm-project/commit/85cb560b8a421d950ccea593b4ee0569249dc136.diff LOG:

[clang] 5cf5876 - Atomics: support min/max orthogonally

2019-11-21 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-21T10:37:56Z New Revision: 5cf58768cb3ba31ee37facaf23f7a74f78781590 URL: https://github.com/llvm/llvm-project/commit/5cf58768cb3ba31ee37facaf23f7a74f78781590 DIFF: https://github.com/llvm/llvm-project/commit/5cf58768cb3ba31ee37facaf23f7a74f78781590.diff LOG:

[clang] db73bcd - ARM-NEON: separate soon-to-be conflicting f16 patterns. NFC.

2019-11-20 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-20T13:20:02Z New Revision: db73bcd98ef4ffbe91405a5adfcfdcd83bc007f4 URL: https://github.com/llvm/llvm-project/commit/db73bcd98ef4ffbe91405a5adfcfdcd83bc007f4 DIFF: https://github.com/llvm/llvm-project/commit/db73bcd98ef4ffbe91405a5adfcfdcd83bc007f4.diff LOG:

[clang] e23d6f3 - NeonEmitter: remove special case on casting polymorphic builtins.

2019-11-20 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-20T13:20:02Z New Revision: e23d6f3184d365a9e72a67870d98e80f998d URL: https://github.com/llvm/llvm-project/commit/e23d6f3184d365a9e72a67870d98e80f998d DIFF: https://github.com/llvm/llvm-project/commit/e23d6f3184d365a9e72a67870d98e80f998d.diff LOG:

[clang] b80e483 - Update tests after change to llvm-cxxfilt's underscore stripping behaviour.

2019-11-20 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-20T13:10:55Z New Revision: b80e483c4205d216f6648d7e217183694fe9a55e URL: https://github.com/llvm/llvm-project/commit/b80e483c4205d216f6648d7e217183694fe9a55e DIFF: https://github.com/llvm/llvm-project/commit/b80e483c4205d216f6648d7e217183694fe9a55e.diff LOG:

[clang] 44e5879 - AArch64: add arm64_32 support to Clang.

2019-11-12 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-12T12:45:18Z New Revision: 44e5879f0fb7c28b90e8042fde81bba30b4090a3 URL: https://github.com/llvm/llvm-project/commit/44e5879f0fb7c28b90e8042fde81bba30b4090a3 DIFF: https://github.com/llvm/llvm-project/commit/44e5879f0fb7c28b90e8042fde81bba30b4090a3.diff LOG:

[clang] 10e0d64 - CodeGen: set correct result for atomic compound expressions

2019-11-07 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-07T13:36:44Z New Revision: 10e0d64337d64ebdb658bf9108bd9bb48fb5390c URL: https://github.com/llvm/llvm-project/commit/10e0d64337d64ebdb658bf9108bd9bb48fb5390c DIFF: https://github.com/llvm/llvm-project/commit/10e0d64337d64ebdb658bf9108bd9bb48fb5390c.diff LOG:

[clang] 59f063b - NeonEmitter: remove special 'a' type modifier.

2019-11-06 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-06T10:23:36Z New Revision: 59f063b89c518ae81467f6015d1c428c61583f71 URL: https://github.com/llvm/llvm-project/commit/59f063b89c518ae81467f6015d1c428c61583f71 DIFF: https://github.com/llvm/llvm-project/commit/59f063b89c518ae81467f6015d1c428c61583f71.diff LOG:

[clang] 9577ee8 - NeonEmitter: switch to enum for internal Type representation.

2019-11-06 Thread Tim Northover via cfe-commits
Author: Tim Northover Date: 2019-11-06T10:02:15Z New Revision: 9577ee84e638530be7a310c9d50526a36e3c212e URL: https://github.com/llvm/llvm-project/commit/9577ee84e638530be7a310c9d50526a36e3c212e DIFF: https://github.com/llvm/llvm-project/commit/9577ee84e638530be7a310c9d50526a36e3c212e.diff LOG:

r362129 - Reapply: LLVM IR: update Clang tests for byval being a typed attribute.

2019-05-30 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu May 30 11:49:19 2019 New Revision: 362129 URL: http://llvm.org/viewvc/llvm-project?rev=362129&view=rev Log: Reapply: LLVM IR: update Clang tests for byval being a typed attribute. Since byval is now a typed attribute it gets sorted slightly differently by LLVM when th

r362028 - Revert "LLVM IR: update Clang tests for byval being a typed attribute."

2019-05-29 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed May 29 13:45:32 2019 New Revision: 362028 URL: http://llvm.org/viewvc/llvm-project?rev=362028&view=rev Log: Revert "LLVM IR: update Clang tests for byval being a typed attribute." The underlying LLVM change couldn't cope with llvm-link and broke LTO builds. Modified:

r362013 - LLVM IR: update Clang tests for byval being a typed attribute.

2019-05-29 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed May 29 12:13:29 2019 New Revision: 362013 URL: http://llvm.org/viewvc/llvm-project?rev=362013&view=rev Log: LLVM IR: update Clang tests for byval being a typed attribute. Since byval is now a typed attribute it gets sorted slightly differently by LLVM when the order o

Re: r345971 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-02 Thread Tim Northover via cfe-commits
On 2 Nov 2018, at 15:28, Sam McCall wrote: > In that case, I don't think it makes sense to think of the format string > parser as part of the analyzer - as the build deps suggest, it's now part of > AST and gets reused by analyzer. (Similar to how the analyzer uses other bits > of AST/clang). I

Re: r345971 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-02 Thread Tim Northover via cfe-commits
> On 2 Nov 2018, at 15:03, Tim Northover wrote: >> (If the do belong here: the namespaces and comments don't seem to have been >> updated) > > Good point, I’ll get onto fixing that. Actually, do you have any particular ones in mind? After going in to make changes, they still look pretty good

Re: r345971 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-02 Thread Tim Northover via cfe-commits
Hi Sam, On 2 Nov 2018, at 13:31, Sam McCall wrote: > The move of OSLog.h and FormatString.h to AST doesn't look obviously correct. > Do these really belong in this layer? I think this patch needs review from > someone who knows AST/ better than myself... was there a review? Eli reviewed the cha

[clang-tools-extra] r345971 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-02 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Fri Nov 2 06:14:11 2018 New Revision: 345971 URL: http://llvm.org/viewvc/llvm-project?rev=345971&view=rev Log: Reapply Logging: make os_log buffer size an integer constant expression. The size of an os_log buffer is known at any stage of compilation, so making it a const

Re: r345866 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-01 Thread Tim Northover via cfe-commits
On 1 Nov 2018, at 18:36, Jan Vesely wrote: > this patch seems to cause a build failure: Ugh. Reverted as r345871. Do you know what linker and other options you’re using? The only failure I’ve been able to reproduce locally is when I introduced a circular dependency. Cheers. Tim.

r345871 - Revert "Reapply Logging: make os_log buffer size an integer constant expression."

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 11:37:42 2018 New Revision: 345871 URL: http://llvm.org/viewvc/llvm-project?rev=345871&view=rev Log: Revert "Reapply Logging: make os_log buffer size an integer constant expression." Still more dependency hell. Added: cfe/trunk/include/clang/Analysis/Anal

r345866 - Reapply Logging: make os_log buffer size an integer constant expression.

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 11:04:49 2018 New Revision: 345866 URL: http://llvm.org/viewvc/llvm-project?rev=345866&view=rev Log: Reapply Logging: make os_log buffer size an integer constant expression. The size of an os_log buffer is known at any stage of compilation, so making it a const

Re: r345833 - Logging: add CMake dependency so libAST can use OSLog analysis.

2018-11-01 Thread Tim Northover via cfe-commits
> This doesn't work. AST cannot depend on Analysis because Analysis already > depends on AST. > > On Thu, Nov 1, 2018 at 3:24 PM Tim Northover via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > Author: tnorthover > Date: Thu Nov 1 07:22:20 2018 > New R

r345846 - Revert "Logging: make os_log buffer size an integer constant expression.

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 09:15:24 2018 New Revision: 345846 URL: http://llvm.org/viewvc/llvm-project?rev=345846&view=rev Log: Revert "Logging: make os_log buffer size an integer constant expression. This also reverts a couple of follow-up commits trying to fix the dependency issues. La

r345835 - Logging: put link against libclangAnalysis rather than libLLVMAnalysis for os_log

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 07:43:35 2018 New Revision: 345835 URL: http://llvm.org/viewvc/llvm-project?rev=345835&view=rev Log: Logging: put link against libclangAnalysis rather than libLLVMAnalysis for os_log Modified: cfe/trunk/lib/AST/CMakeLists.txt Modified: cfe/trunk/lib/AST/C

r345833 - Logging: add CMake dependency so libAST can use OSLog analysis.

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 07:22:20 2018 New Revision: 345833 URL: http://llvm.org/viewvc/llvm-project?rev=345833&view=rev Log: Logging: add CMake dependency so libAST can use OSLog analysis. Should fix bots on platforms with slightly different symbol resolution semantics. Modified:

r345828 - Logging: make os_log buffer size an integer constant expression.

2018-11-01 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Nov 1 06:49:54 2018 New Revision: 345828 URL: http://llvm.org/viewvc/llvm-project?rev=345828&view=rev Log: Logging: make os_log buffer size an integer constant expression. The size of an os_log buffer is known at any stage of compilation, so making it a constant expr

r341240 - Tests: fix tests encoding specific hash values for 32-bit systems.

2018-08-31 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Fri Aug 31 12:24:37 2018 New Revision: 341240 URL: http://llvm.org/viewvc/llvm-project?rev=341240&view=rev Log: Tests: fix tests encoding specific hash values for 32-bit systems. I changed the seed slightly, but forgot to run the tests on a 32-bit system, so tests which h

r338879 - Revert "clang-format: [JS] don't break comments before any '{'"

2018-08-03 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Fri Aug 3 05:19:22 2018 New Revision: 338879 URL: http://llvm.org/viewvc/llvm-project?rev=338879&view=rev Log: Revert "clang-format: [JS] don't break comments before any '{'" This reverts commit r338837, it introduced an infinite loop on all bots. Modified: cfe/trun

Re: r338837 - clang-format: [JS] don't break comments before any '{'

2018-08-03 Thread Tim Northover via cfe-commits
On Fri, 3 Aug 2018 at 11:47, Tim Northover wrote: > On Fri, 3 Aug 2018 at 10:34, Martin Probst via cfe-commits > wrote: > > clang-format: [JS] don't break comments before any '{' > > This looks like it's triggered a bunch of infinite loops in Clang's > unittests. I've just taken a look at the no

Re: r338837 - clang-format: [JS] don't break comments before any '{'

2018-08-03 Thread Tim Northover via cfe-commits
Hi Martin, On Fri, 3 Aug 2018 at 10:34, Martin Probst via cfe-commits wrote: > clang-format: [JS] don't break comments before any '{' This looks like it's triggered a bunch of infinite loops in Clang's unittests. For example: http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/

[clang-tools-extra] r334093 - Add semicolon to recent MSVC fix.

2018-06-06 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed Jun 6 06:28:49 2018 New Revision: 334093 URL: http://llvm.org/viewvc/llvm-project?rev=334093&view=rev Log: Add semicolon to recent MSVC fix. Modified: clang-tools-extra/trunk/clangd/Quality.cpp Modified: clang-tools-extra/trunk/clangd/Quality.cpp URL: http://ll

r330566 - [Atomics] warn about atomic accesses using libcalls

2018-04-23 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Mon Apr 23 01:16:24 2018 New Revision: 330566 URL: http://llvm.org/viewvc/llvm-project?rev=330566&view=rev Log: [Atomics] warn about atomic accesses using libcalls If an atomic variable is misaligned (and that suspicion is why Clang emits libcalls at all) the runtime supp

r320250 - Switch to gnu++14 as the default dialect.

2017-12-09 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Sat Dec 9 04:09:54 2017 New Revision: 320250 URL: http://llvm.org/viewvc/llvm-project?rev=320250&view=rev Log: Switch to gnu++14 as the default dialect. This is C++14 with conforming GNU extensions. Modified: cfe/trunk/docs/ReleaseNotes.rst cfe/trunk/lib/Fronten

Re: [PATCH] D40948: Switch Clang's default C++ language target to C++14

2017-12-07 Thread Tim Northover via cfe-commits
> + LangStd = LangStandard::lang_gnucxx14; > > This comment should be removed. Opps, yep. Fixed on my local branch. I won't upload a new diff just yet though. Thanks. Tim. ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

Re: [PATCH] D40948: Switch Clang's default C++ language target to C++14

2017-12-07 Thread Tim Northover via cfe-commits
Here's the test-suite diff. It's really just a few ancient code-bases that don't compile with C++14, no runtime issues I noticed. Tim. commit a52b065052bfefaac17e7096fd2c911aac62e9da Author: Tim Northover Date: Thu Dec 7 09:16:34 2017 + Support C++14 as a default in Clang diff --git a

Re: r311137 - GlobalISel (AArch64): fix ABI at border between GPRs and SP.

2017-08-17 Thread Tim Northover via cfe-commits
On 17 August 2017 at 16:14, Tim Northover via cfe-commits wrote: > Author: tnorthover > Date: Thu Aug 17 16:14:01 2017 > New Revision: 311137 > > URL: http://llvm.org/viewvc/llvm-project?rev=311137&view=rev > Log: > GlobalISel (AArch64): fix ABI at border between GPRs a

r311140 - Revert r311137 (GlobalISel ABI commit).

2017-08-17 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Aug 17 17:33:24 2017 New Revision: 311140 URL: http://llvm.org/viewvc/llvm-project?rev=311140&view=rev Log: Revert r311137 (GlobalISel ABI commit). It was committed by mistake since it was in the same monorepo as the LLVM change I was working on. Modified: cfe/tr

r311137 - GlobalISel (AArch64): fix ABI at border between GPRs and SP.

2017-08-17 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Aug 17 16:14:01 2017 New Revision: 311137 URL: http://llvm.org/viewvc/llvm-project?rev=311137&view=rev Log: GlobalISel (AArch64): fix ABI at border between GPRs and SP. If a struct would end up half in GPRs and half on SP the ABI says it should actually go entirely on

r310478 - Reapply Sema: allow imaginary constants via GNU extension if UDL overloads not present.

2017-08-09 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed Aug 9 07:56:48 2017 New Revision: 310478 URL: http://llvm.org/viewvc/llvm-project?rev=310478&view=rev Log: Reapply Sema: allow imaginary constants via GNU extension if UDL overloads not present. C++14 added user-defined literal support for complex numbers so that yo

r310426 - Revert "Lexer: always allow imaginary constants in GNU mode."

2017-08-08 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Tue Aug 8 16:17:51 2017 New Revision: 310426 URL: http://llvm.org/viewvc/llvm-project?rev=310426&view=rev Log: Revert "Lexer: always allow imaginary constants in GNU mode." This reverts r310423. It was committed by mistake, I intended to commit the improved diagnostics f

r310427 - Sema: disable implicit conversion from _Complex to real types in C++.

2017-08-08 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Tue Aug 8 16:18:05 2017 New Revision: 310427 URL: http://llvm.org/viewvc/llvm-project?rev=310427&view=rev Log: Sema: disable implicit conversion from _Complex to real types in C++. Converting a _Complex type to a real one simply discards the imaginary part. This can easi

r310423 - Lexer: always allow imaginary constants in GNU mode.

2017-08-08 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Tue Aug 8 15:03:54 2017 New Revision: 310423 URL: http://llvm.org/viewvc/llvm-project?rev=310423&view=rev Log: Lexer: always allow imaginary constants in GNU mode. Added: cfe/trunk/test/Lexer/imaginary-constants.cpp Modified: cfe/trunk/lib/Lex/LiteralSupport.cpp

r308898 - AArch64 & ARM: move TargetInfo functions from .h to .cpp file. NFC.

2017-07-24 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Mon Jul 24 10:06:23 2017 New Revision: 308898 URL: http://llvm.org/viewvc/llvm-project?rev=308898&view=rev Log: AArch64 & ARM: move TargetInfo functions from .h to .cpp file. NFC. Most of them are virtual anyway, and the few remaining ones can move to the .cpp for consist

Re: [PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

2017-06-01 Thread Tim Northover via cfe-commits
On 26 May 2017 at 11:29, Richard Smith wrote: > If we generally think that distinction is a good thing, then (because this > is a conforming extension) consistency weakly suggests that it should not be > controlled by GNU mode. But I don't find that argument decisive; the > important thing is that

Re: [PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

2017-05-26 Thread Tim Northover via cfe-commits
On 24 May 2017 at 17:54, Richard Smith wrote: > Yikes :-( Maybe libc++ *should* have that extension then. It sounds like > we'll silently get the wrong value for any attempt at std::complex / > _Complex interop right now: That sounds like a pretty good idea whatever we decide to do about the lite

r303957 - Create valid LValue to represent null pointers in constant exprs

2017-05-25 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu May 25 21:16:00 2017 New Revision: 303957 URL: http://llvm.org/viewvc/llvm-project?rev=303957&view=rev Log: Create valid LValue to represent null pointers in constant exprs We were leaving the SubobjectDesignator in a surprising situation, where it was allegedly valid

Re: [PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

2017-05-24 Thread Tim Northover via cfe-commits
On 24 May 2017 at 15:32, Marshall Clow via Phabricator wrote: > More. Trying the above code on godbolt.org, gcc 6.1/6.2/6.3/7.1 all reject it > (with `-std=c++14` and `-std=c++1z`) with the error message: This was a pretty explicit intent in Richard's proposal: treat incoming code as charitably

Re: [PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

2017-05-24 Thread Tim Northover via cfe-commits
On 24 May 2017 at 15:06, Richard Smith wrote: > I think this is expected. Clang has an extension where it treats 1.0if as a > _Complex float if no operator""if is available; Since it's breaking some bots, I've reverted my commit while we hash this out. r303813. > libc++ has an extension > where

r303813 - Revert "Sema: allow imaginary constants via GNU extension if UDL overloads not present."

2017-05-24 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed May 24 17:18:35 2017 New Revision: 303813 URL: http://llvm.org/viewvc/llvm-project?rev=303813&view=rev Log: Revert "Sema: allow imaginary constants via GNU extension if UDL overloads not present." This reverts commit r303697. It broke libc++ tests that were specifica

Re: r303694 - Sema: allow imaginary constants via GNU extension if UDL overloads not present.

2017-05-23 Thread Tim Northover via cfe-commits
> + if (!isImaginary) { > > Shouldn't this be "if (s != ThisTokEnd)"? (That is, if this was not a valid > builtin suffix, reset the suffix information.) I think they're equivalent here: !isImaginary => UDL is _ or time thing => extra crap on the end. extra crap on the end => it's n

r303694 - Sema: allow imaginary constants via GNU extension if UDL overloads not present.

2017-05-23 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Tue May 23 16:41:49 2017 New Revision: 303694 URL: http://llvm.org/viewvc/llvm-project?rev=303694&view=rev Log: Sema: allow imaginary constants via GNU extension if UDL overloads not present. C++14 added user-defined literal support for complex numbers so that you can wri

r302313 - AArch64: fix weird edge case in ABI.

2017-05-05 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Fri May 5 17:36:06 2017 New Revision: 302313 URL: http://llvm.org/viewvc/llvm-project?rev=302313&view=rev Log: AArch64: fix weird edge case in ABI. It turns out there are some sort-of-but-not-quite empty structs that break all the rules. For example: struct SuperEmpty {

r302066 - Tests: strengthen CHECK line to avoid picking up stray path.

2017-05-03 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed May 3 14:20:45 2017 New Revision: 302066 URL: http://llvm.org/viewvc/llvm-project?rev=302066&view=rev Log: Tests: strengthen CHECK line to avoid picking up stray path. A bot had "-LTO" in its working directory, which matched the regex used in this test. Since the arg

r301585 - libclang: remove unused variable.

2017-04-27 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Thu Apr 27 15:22:40 2017 New Revision: 301585 URL: http://llvm.org/viewvc/llvm-project?rev=301585&view=rev Log: libclang: remove unused variable. Modified: cfe/trunk/tools/libclang/CXCursor.cpp Modified: cfe/trunk/tools/libclang/CXCursor.cpp URL: http://llvm.org/vie

Re: LLVM Lab SVN mirror is behind

2017-03-15 Thread Tim Northover via cfe-commits
On 15 March 2017 at 10:19, Galina Kistanova via llvm-commits wrote: > I'm looking at that. Hope we will get a solution by the next release time. Moving to git at last would be ideal, but I wouldn't bet on it either. Tim. ___ cfe-commits mailing list cf

r293311 - ARM-Darwin: re-enable -momit-leaf-frame-pointer.

2017-01-27 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Fri Jan 27 11:53:42 2017 New Revision: 293311 URL: http://llvm.org/viewvc/llvm-project?rev=293311&view=rev Log: ARM-Darwin: re-enable -momit-leaf-frame-pointer. In r279546 I disabled all frame pointer elimination at the front-end on ARM-Darwin (and warned about it) becaus

r290268 - ARM: define a macro for the FPv5 FPU in ARM mode.

2016-12-21 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed Dec 21 14:49:43 2016 New Revision: 290268 URL: http://llvm.org/viewvc/llvm-project?rev=290268&view=rev Log: ARM: define a macro for the FPv5 FPU in ARM mode. FPv5 is in Cortex-M7 and the 64-bit CPUs when running in 32-bit mode. The name is from the Cortex-M7 TRM. Mod

r289692 - AArch64: add architecture version feature to Clang invocation.

2016-12-14 Thread Tim Northover via cfe-commits
Author: tnorthover Date: Wed Dec 14 13:21:30 2016 New Revision: 289692 URL: http://llvm.org/viewvc/llvm-project?rev=289692&view=rev Log: AArch64: add architecture version feature to Clang invocation. Otherwise we don't get the correct predefines and so on in the front-end (or the right features i

[PATCH] D26234: [Frontend] Add a predefined macro that describes the Objective-C bool type

2016-11-18 Thread Tim Northover via cfe-commits
t.p.northover accepted this revision. t.p.northover added a reviewer: t.p.northover. t.p.northover added a comment. This revision is now accepted and ready to land. Looks reasonable to me. Tim. Repository: rL LLVM https://reviews.llvm.org/D26234 ___

Re: [libcxx] r284214 - XFAIL aligned allocation tests for older Clang versions

2016-10-18 Thread Tim Northover via cfe-commits
On 15 October 2016 at 13:08, Eric Fiselier via cfe-commits wrote: > Are these tests still broken for you? They're still breaking multiple Green Dragon bots (e.g. the basic "make check" at http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA/)[1]. What do you need to help fix the issue? C

Re: r284392 - Reapply r284383. The test failures were due to a missing dir in test/

2016-10-17 Thread Tim Northover via cfe-commits
On 17 October 2016 at 10:34, Tim Northover wrote: > I think this might be something to do with git not actually recording > empty directories. Could you have another look? Never mind, I've confirmed and committed a fix in r284401. Tim. ___ cfe-commits

Re: r284392 - Reapply r284383. The test failures were due to a missing dir in test/

2016-10-17 Thread Tim Northover via cfe-commits
On 17 October 2016 at 11:13, Krzysztof Parzyszek wrote: > That is crazy! You are right---git does not store empty directories. "SVN > co" worked fine for me, but "git clone" didn't. D: Oops, a bit of overlap. Thanks for fixing it more thoroughly than me! Tim. ___

  1   2   3   >