[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
@@ -314,7 +313,7 @@ class ComplexExprEmitter } QualType getPromotionType(FPOptionsOverride Features, QualType Ty, -bool IsDivOpCode = false) { +bool IsComplexDivisor = false) { Maetveis wrote: Thanks

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis edited https://github.com/llvm/llvm-project/pull/131451 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/131453 From 9d50aa09e1f06ec145715896173750414ec75c0d Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 12:53:32 +0100 Subject: [PATCH] [Clang][CodeGen] Promote in complex compound divassign When

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/131451 From c6e05d776c23ea3d70ad4f82d6625ce68d9e6307 Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 11:54:12 +0100 Subject: [PATCH] [Clang][CodeGen] Do not promote if complex divisor is real R

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/131453 From 57b488a64f01dba352382e142fb2f60502395dd5 Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 12:53:32 +0100 Subject: [PATCH] [Clang][CodeGen] Promote in complex compound divassign When

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/131453 From 57b488a64f01dba352382e142fb2f60502395dd5 Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 12:53:32 +0100 Subject: [PATCH] [Clang][CodeGen] Promote in complex compound divassign When

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
Maetveis wrote: ### Merge activity * **Mar 19, 2:22 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/131453). https://github.com/llvm/llvm-project/pull/131453 ___

[llvm-branch-commits] [clang] [CodeGen][NFC] Run mem2reg and sroa on complex range tests (PR #131925)

2025-03-18 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis converted_to_draft https://github.com/llvm/llvm-project/pull/131925 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-04-05 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/131453 From 9d50aa09e1f06ec145715896173750414ec75c0d Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 12:53:32 +0100 Subject: [PATCH] [Clang][CodeGen] Promote in complex compound divassign When

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis ready_for_review https://github.com/llvm/llvm-project/pull/131453 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis ready_for_review https://github.com/llvm/llvm-project/pull/131451 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis created https://github.com/llvm/llvm-project/pull/131451 Relates-to: https://github.com/llvm/llvm-project/issues/131129 From 45e679eba25f309130404fe879d36bb727872b62 Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Sat, 15 Mar 2025 11:54:12 +0100 Subject: [PATC

[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
Maetveis wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/131451?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis created https://github.com/llvm/llvm-project/pull/131453 When `-fcomplex-arithmetic=promoted` is set complex divassign `/=` should promote to a wider type the same way division (without assignment) does. Prior to this change, Smith's algorithm would be used for divass

[llvm-branch-commits] [clang] [Clang][CodeGen] Promote in complex compound divassign (PR #131453)

2025-03-15 Thread Mészáros Gergely via llvm-branch-commits
Maetveis wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/131453?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis edited https://github.com/llvm/llvm-project/pull/145865 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
Maetveis wrote: I separated the pre-commit test to https://github.com/llvm/llvm-project/pull/145906 https://github.com/llvm/llvm-project/pull/145865 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis updated https://github.com/llvm/llvm-project/pull/145865 From 8da457d3d11d2807707bee5081114c27584e4d0f Mon Sep 17 00:00:00 2001 From: Gergely Meszaros Date: Thu, 26 Jun 2025 02:54:21 -0700 Subject: [PATCH 1/5] [FileCheck] Improve printing variables with escapes Firs

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
@@ -0,0 +1,17 @@ +; RUN: echo -e "WINPATH=A:\windows\style\path" > %t +; RUN: echo -e "NOT_ESCAPED=shouldn't be escaped [a-Z]\+$" >> %t +; RUN: echo -e 'ESCAPED=\\ needs\to "be" escaped\000' >> %t + Maetveis wrote: Should be in #145906. https:/

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis closed https://github.com/llvm/llvm-project/pull/145865 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [FileCheck] Improve printing variables with escapes (PR #145865)

2025-06-26 Thread Mészáros Gergely via llvm-branch-commits
https://github.com/Maetveis reopened https://github.com/llvm/llvm-project/pull/145865 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits