[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-18 Thread Alexander Smarus via cfe-commits
https://github.com/lxbndr updated https://github.com/llvm/llvm-project/pull/65215 >From c97d9a28ef8cdb232670a960a46bc30b269983f7 Mon Sep 17 00:00:00 2001 From: Alexander Smarus Date: Tue, 19 Sep 2023 00:34:54 +0300 Subject: [PATCH] Workaround for MSVC ARM64 build performance regression --- cl

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-18 Thread Alexander Smarus via cfe-commits
lxbndr wrote: A short summary of changes: - added link to the issue - narrowed checks to aim cl.exe only (clang-cl.exe doesn't need this) - changed approach a bit. Now we're looking for /O2 and /O1 flags in the general flag set for the current configuration. Last effective found flag is suppres

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-29 Thread Alexander Smarus via cfe-commits
lxbndr wrote: @tru I apologize for any inconvenience, but should I rebase this to the latest master, or something else to unblock landing? I am not sure if I see any suitable rule in the contribution guide. Just in case it occasionally turns out that the blocker is me. https://github.com/llvm

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-02 Thread Alexander Smarus via cfe-commits
https://github.com/lxbndr review_requested https://github.com/llvm/llvm-project/pull/65215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-02 Thread Alexander Smarus via cfe-commits
https://github.com/lxbndr opened https://github.com/llvm/llvm-project/pull/65215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-03 Thread Alexander Smarus via cfe-commits
@@ -30,6 +30,15 @@ set(LLVM_LINK_COMPONENTS TransformUtils ) +# Workaround for MSVC ARM64 performance regression: disable all optimizations (/Od) +# and then enable back all /O2 options except one. +if(NOT CMAKE_BUILD_TYPE MATCHES Debug +AND MSVC +AND MSVC_VERSI

[clang] Workaround for MSVC ARM64 build performance regression (PR #65215)

2023-09-03 Thread Alexander Smarus via cfe-commits
@@ -30,6 +30,15 @@ set(LLVM_LINK_COMPONENTS TransformUtils ) +# Workaround for MSVC ARM64 performance regression: disable all optimizations (/Od) lxbndr wrote: I was not sure if the link is acceptable to mention there. Will do, thanks! https://github.co

[clang] Adjust MSVC version range for ARM64 build performance regression (PR #90731)

2024-05-01 Thread Alexander Smarus via cfe-commits
https://github.com/lxbndr created https://github.com/llvm/llvm-project/pull/90731 This is follow up for #65215 Mentioned regression was fixed in MSVC 19.39 (VS 17.9.0), so it makes sense to not apply fix for that (and newer) compiler versions. Same as original change, this patch is narrowly s

[clang] Adjust MSVC version range for ARM64 build performance regression (PR #90731)

2024-06-22 Thread Alexander Smarus via cfe-commits
https://github.com/lxbndr updated https://github.com/llvm/llvm-project/pull/90731 >From 52fe3d377e5f6a0388f102b82283529253d4ab4c Mon Sep 17 00:00:00 2001 From: Alexander Smarus Date: Wed, 1 May 2024 16:43:04 +0300 Subject: [PATCH] Adjust MSVC version range for ARM64 build performance regressio

[clang] Adjust MSVC version range for ARM64 build performance regression (PR #90731)

2024-06-22 Thread Alexander Smarus via cfe-commits
lxbndr wrote: Rebased on latest main. Let's see what CI say. https://github.com/llvm/llvm-project/pull/90731 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits