[llvm-branch-commits] [mlir] [mlir][Properties] Shorten "Property" to "Prop" in most places (PR #120368)

2024-12-17 Thread Krzysztof Drewniak via llvm-branch-commits
krzysz00 wrote: So as to note upcoming plans: - EnumProp probably wants to move to `EnumAttr` and grow a real predicate. - `IndexProp` and `APIntProp` (name subject to debate) should exist - Once the infrastructure feels like it's in a solid shape, I intend to go on a rampage through the upstrea

[llvm-branch-commits] [mlir] [mlir][Properties] Shorten "Property" to "Prop" in most places (PR #120368)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-affine Author: Krzysztof Drewniak (krzysz00) Changes Since the property system isn't currently in heavy use, it's probably the right time to fix a choice I made when expanding ODS property support. Specifically, most of the property subclasses, li

[llvm-branch-commits] [mlir] [mlir][Properties] Shorten "Property" to "Prop" in most places (PR #120368)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Krzysztof Drewniak (krzysz00) Changes Since the property system isn't currently in heavy use, it's probably the right time to fix a choice I made when expanding ODS property support. Specifically, most of the property subclasses, like Opti

[llvm-branch-commits] [mlir] [mlir][Properties] Shorten "Property" to "Prop" in most places (PR #120368)

2024-12-17 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 created https://github.com/llvm/llvm-project/pull/120368 Since the property system isn't currently in heavy use, it's probably the right time to fix a choice I made when expanding ODS property support. Specifically, most of the property subclasses, like OptionalProp

[llvm-branch-commits] [llvm] [TRI] Remove reserved registers in getRegPressureSetLimit (PR #118787)

2024-12-17 Thread Craig Topper via llvm-branch-commits
topperc wrote: Should we just rename the TRI function to discourage use and encourage everyone to use RegClassInfo? https://github.com/llvm/llvm-project/pull/118787 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.

[llvm-branch-commits] [llvm] [DirectX] Create symbols for resource handles (PR #119775)

2024-12-17 Thread Sarah Spall via llvm-branch-commits
https://github.com/spall approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/119775 ___ 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-tools-extra] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/120308 ___ 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] [NFC][BoundsChecking] Add TrapBB local variable (PR #119983)

2024-12-17 Thread Kirill Stoimenov via llvm-branch-commits
https://github.com/kstoimenov approved this pull request. https://github.com/llvm/llvm-project/pull/119983 ___ 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-tools-extra] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/120308 >From ac3ce2e8bacdf6b2e7f7d812b16b2854d5ca34f2 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 17 Dec 2024 13:58:09 -0800 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?UTF-

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/120308 ___ 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-doc][NFC] Use isa over dyn_cast (PR #120309)

2024-12-17 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/120309 ___ 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-doc][NFC] Use isa over dyn_cast (PR #120309)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/120309 ___ 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-tools-extra] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/120308 ___ 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-tools-extra] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/120308 >From ac3ce2e8bacdf6b2e7f7d812b16b2854d5ca34f2 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 17 Dec 2024 13:58:09 -0800 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?= =?UTF-

[llvm-branch-commits] [clang-doc][NFC] Use isa over dyn_cast (PR #120309)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Paul Kirth (ilovepi) Changes These call sites don't need the cast, as they don't use the value. --- Full diff: https://github.com/llvm/llvm-project/pull/120309.diff 1 Files Affected: - (modified) clang-tools-extra/clang-doc

[llvm-branch-commits] [clang-doc][NFC] Use isa over dyn_cast (PR #120309)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/120309 These call sites don't need the cast, as they don't use the value. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi

[llvm-branch-commits] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Paul Kirth (ilovepi) Changes The implementation in the clang-doc serializer failed to take in the LangOpts from the declaration. Asa result, we'd do things like print `_Bool` instead of `bool`, even in C++ code. Fixes #62970

[llvm-branch-commits] [clang-doc] Use LangOpts when printing types (PR #120308)

2024-12-17 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/120308 The implementation in the clang-doc serializer failed to take in the LangOpts from the declaration. Asa result, we'd do things like print `_Bool` instead of `bool`, even in C++ code. Fixes #62970

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
https://github.com/zero9178 edited https://github.com/llvm/llvm-project/pull/120176 ___ 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] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -63,6 +65,12 @@ class Property { return convertFromAttribute($_storage, $_attr, $_diag); }]; + // The verification predicate for this property. Defaults to And<[]>, + // which is trivially true, since properties are always their expected type. + // Within the predi

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246) (PR #120296)

2024-12-17 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary approved this pull request. https://github.com/llvm/llvm-project/pull/120296 ___ 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] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

2024-12-17 Thread Daniil Kovalev via llvm-branch-commits
@@ -15,50 +16,85 @@ // RUN: -fno-ptrauth-indirect-gotos -fptrauth-indirect-gotos \ // RUN: -fno-ptrauth-init-fini -fptrauth-init-fini \ // RUN: -fno-ptrauth-init-fini-address-discrimination -fptrauth-init-fini-address-discrimination \ +// RUN: -fno-ptrauth-elf-got -fpt

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

2024-12-17 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113152 >From 0caff13d6748f8c2d14608412db80eb5bba5fe71 Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:18:56 +0300 Subject: [PATCH 1/7] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

2024-12-17 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113152 >From 0caff13d6748f8c2d14608412db80eb5bba5fe71 Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:18:56 +0300 Subject: [PATCH 1/6] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin

[llvm-branch-commits] [clang] [PAC][clang] Handle pauthtest environment and ABI in Linux-specific code (PR #113151)

2024-12-17 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113151 >From 74c5de129cd4a1e90463aa9ad05b1b90bd3ff981 Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:00:19 +0300 Subject: [PATCH] [PAC][clang] Handle pauthtest environment and ABI in Linux-sp

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246) (PR #120296)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport e8ce6c4 Requested by: @topperc --- Full diff: https://github.com/llvm/llvm-project/pull/120296.diff 1 Files Affected: - (modified) llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td (+1-1) ``

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246) (PR #120296)

2024-12-17 Thread via llvm-branch-commits
llvmbot wrote: @topperc What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/120296 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246) (PR #120296)

2024-12-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/120296 Backport e8ce6c4 Requested by: @topperc >From 032b352c2ba61eab447d08fd7cd86fbaee36be10 Mon Sep 17 00:00:00 2001 From: Philipp van Kempen Date: Tue, 17 Dec 2024 21:20:17 +0100 Subject: [PATCH] [RISCV] Fix typo

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Fix typo in CV_SH_rr_inc pattern (#120246) (PR #120296)

2024-12-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/120296 ___ 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] [DirectX] TypedUAVLoadAdditionalFormats shader flag (PR #120280)

2024-12-17 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/120280 ___ 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] [compiler-rt] [llvm] [TySan] Fix struct access with different bases (PR #108385)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: Sorry I didn't mean to close this PR, looks like it happened automatically once I deleted the `users/fhahn/tysan-a-type-sanitizer-runtime-library` branch :( https://github.com/llvm/llvm-project/pull/108385 ___ llvm-branch-commits mailing

[llvm-branch-commits] [clang] [compiler-rt] [llvm] [TySan] Improved compatability for tests (PR #96507)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: Sorry I didn't mean to close this PR, looks like it happened automatically once I deleted the `users/fhahn/tysan-a-type-sanitizer-runtime-library` branch :( https://github.com/llvm/llvm-project/pull/96507 ___ llvm-branch-commits mailing

[llvm-branch-commits] [clang] [compiler-rt] [llvm] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: Sorry I didn't mean to close this PR, looks like it happened automatically once I deleted the `users/fhahn/tysan-a-type-sanitizer-runtime-library` branch :( https://github.com/llvm/llvm-project/pull/95387 ___ llvm-branch-commits mailing

[llvm-branch-commits] [clang] [compiler-rt] [llvm] [TySan] Fix struct access with different bases (PR #108385)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/108385 ___ 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] [compiler-rt] [llvm] [TySan] Improved compatability for tests (PR #96507)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/96507 ___ 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] [compiler-rt] [llvm] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/95387 ___ 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] release/19.x: [RISCV] Add hasPostISelHook to sf.vfnrclip pseudo instructions. (#114274) (PR #117948)

2024-12-17 Thread Luke Lau via llvm-branch-commits
https://github.com/lukel97 approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/117948 ___ 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] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/113152 ___ 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] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
@@ -15,50 +16,85 @@ // RUN: -fno-ptrauth-indirect-gotos -fptrauth-indirect-gotos \ // RUN: -fno-ptrauth-init-fini -fptrauth-init-fini \ // RUN: -fno-ptrauth-init-fini-address-discrimination -fptrauth-init-fini-address-discrimination \ +// RUN: -fno-ptrauth-elf-got -fpt

[llvm-branch-commits] [lld][WebAssembly] Replace config-> with ctx.arg. (PR #119835)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
MaskRay wrote: Updated the description. This consolidates global variables. https://github.com/llvm/llvm-project/pull/119835 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b

[llvm-branch-commits] [lld][WebAssembly] Replace config-> with ctx.arg. (PR #119835)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/119835 ___ 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] [lld][WebAssembly] Replace config-> with ctx.arg. (PR #119835)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/119835 ___ 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] [lld][WebAssembly] Replace config-> with ctx.arg. (PR #119835)

2024-12-17 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/119835 ___ 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] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -63,6 +65,12 @@ class Property { return convertFromAttribute($_storage, $_attr, $_diag); }]; + // The verification predicate for this property. Defaults to And<[]>, + // which is trivially true, since properties are always their expected type. + // Within the predi

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Krzysztof Drewniak via llvm-branch-commits
@@ -63,6 +65,12 @@ class Property { return convertFromAttribute($_storage, $_attr, $_diag); }]; + // The verification predicate for this property. Defaults to And<[]>, + // which is trivially true, since properties are always their expected type. + // Within the predi

[llvm-branch-commits] [llvm] 4b79faf - Revert "[AArch64] Lower alias mask to a whilewr (#100769)"

2024-12-17 Thread via llvm-branch-commits
Author: Sam Tebbs Date: 2024-12-17T16:23:26Z New Revision: 4b79faf786d77e5c5b1271f1efab6967e43f6a17 URL: https://github.com/llvm/llvm-project/commit/4b79faf786d77e5c5b1271f1efab6967e43f6a17 DIFF: https://github.com/llvm/llvm-project/commit/4b79faf786d77e5c5b1271f1efab6967e43f6a17.diff LOG: Rev

[llvm-branch-commits] [clang] release/19.x: [clang-format] Fix idempotent format of hash in macro body (#118513) (PR #119503)

2024-12-17 Thread Owen Pan via llvm-branch-commits
owenca wrote: > can we get a review on this? I already approved it. https://github.com/llvm/llvm-project/pull/119503 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Mehdi Amini via llvm-branch-commits
@@ -330,6 +337,56 @@ def UnitProperty : Property<"bool", "unit property"> { }]; } +//===--===// +// Property field overwrites + +/// Class for giving a property a default value. +/// This doesn't change anyt

[llvm-branch-commits] [llvm] MachineUniformityAnalysis: Improve isConstantOrUndefValuePhi (PR #112866)

2024-12-17 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112866 >From 991bdf1a6de2e91732a3b9c443786243aaa58e91 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 31 Oct 2024 14:10:57 +0100 Subject: [PATCH] MachineUniformityAnalysis: Improve isConstantOrUndefVa

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for load (PR #112882)

2024-12-17 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112882 >From 78ffc92ec65935c16caedc8ac3f9943e544c7dcd Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 30 Oct 2024 15:37:59 +0100 Subject: [PATCH] AMDGPU/GlobalISel: RegBankLegalize rules for load Add

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
https://github.com/zero9178 edited https://github.com/llvm/llvm-project/pull/120176 ___ 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] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -342,14 +399,37 @@ class _makePropStorage { true : "") # ";"; } +/// Construct a `Pred`icate `ret` that wraps the predicate of the underlying +/// property `childProp` with: +/// +/// [](childProp.storageType& s) { +/// return [](childProp.interfaceType i) { +

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
https://github.com/zero9178 edited https://github.com/llvm/llvm-project/pull/120176 ___ 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] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -1033,6 +1033,60 @@ while (true) {{ emitVerifier(namedAttr.attr, namedAttr.name, getVarName(namedAttr.name)); } +static void genPropertyVerifier(const OpOrAdaptorHelper &emitHelper, +FmtContext &ctx, MethodBody &body) { + + // Code to

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -1033,6 +1033,60 @@ while (true) {{ emitVerifier(namedAttr.attr, namedAttr.name, getVarName(namedAttr.name)); } +static void genPropertyVerifier(const OpOrAdaptorHelper &emitHelper, +FmtContext &ctx, MethodBody &body) { + + // Code to

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -1033,6 +1033,60 @@ while (true) {{ emitVerifier(namedAttr.attr, namedAttr.name, getVarName(namedAttr.name)); } +static void genPropertyVerifier(const OpOrAdaptorHelper &emitHelper, +FmtContext &ctx, MethodBody &body) { + + // Code to

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -1033,6 +1033,60 @@ while (true) {{ emitVerifier(namedAttr.attr, namedAttr.name, getVarName(namedAttr.name)); } +static void genPropertyVerifier(const OpOrAdaptorHelper &emitHelper, +FmtContext &ctx, MethodBody &body) { + + // Code to

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
@@ -63,6 +65,12 @@ class Property { return convertFromAttribute($_storage, $_attr, $_diag); }]; + // The verification predicate for this property. Defaults to And<[]>, + // which is trivially true, since properties are always their expected type. + // Within the predi

[llvm-branch-commits] [mlir] [mlir] Add predicates to tablegen-defined properties (PR #120176)

2024-12-17 Thread Markus Böck via llvm-branch-commits
https://github.com/zero9178 commented: Looks great to me, thank you! I added a few comments but they're all implementation details, no conceptual complaints from my side. Also adding Jeff as a reviewer given the disucssion at https://github.com/llvm/llvm-project/pull/94732 https://github.com/

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Mayer via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/76261 ___ 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] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,347 @@ +//===-- tysan.cpp -===// +// +// 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

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: +import pi

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex fhahn wrote: Removed the conditiona

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
@@ -0,0 +1,161 @@ +# -*- Python -*- + +import os +import platform +import re + +import lit.formats + +# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if +# it's not available. +try: +import shlex + +sh_quote = shlex.quote +except: --

[llvm-branch-commits] [clang] [compiler-rt] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/76261 >From 524eb555b0473bd93401297c5deba77f4dbd83fe Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Fri, 22 Nov 2024 15:01:41 + Subject: [PATCH 1/8] [TySan] A Type Sanitizer (Runtime Library) --- clang/runtime/CM

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-12-17 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: > I am not asking for a a fully tested option, I am fine with an undocumented > -DFLANG_RT_EXPERIMENTAL_DISABLE_STATIC option that forces this removes this > `STATIC` keyword, and I can test myself with the configuration I use. Without knowing what configurations FLANG_RT_EXP

[llvm-branch-commits] [llvm] [Flang-RT] Build libflang_rt.so (PR #120213)

2024-12-17 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur created https://github.com/llvm/llvm-project/pull/120213 Under non-Windows platforms, also create a dynamic library version of the runtime. Build of either version of the library can be switched off using FLANG_RT_ENABLE_STATIC=OFF respectively FLANG_RT_ENABLE_SHA

[llvm-branch-commits] [llvm] release/19.x: [SimpleLoopUnswitch] Fix LCSSA phi node invalidation (PR #118870)

2024-12-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @AreaZR (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [llvm] e21dc4b - [SimpleLoopUnswitch] Fix LCSSA phi node invalidation

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
Author: Nikita Popov Date: 2024-12-17T12:04:04+01:00 New Revision: e21dc4bd5474d04b8e62d7331362edcc5648d7e5 URL: https://github.com/llvm/llvm-project/commit/e21dc4bd5474d04b8e62d7331362edcc5648d7e5 DIFF: https://github.com/llvm/llvm-project/commit/e21dc4bd5474d04b8e62d7331362edcc5648d7e5.diff

[llvm-branch-commits] [llvm] release/19.x: [SimpleLoopUnswitch] Fix LCSSA phi node invalidation (PR #118870)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/118870 ___ 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] release/19.x: [SimpleLoopUnswitch] Fix LCSSA phi node invalidation (PR #118870)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/118870 >From e21dc4bd5474d04b8e62d7331362edcc5648d7e5 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 27 Nov 2024 11:47:22 +0100 Subject: [PATCH] [SimpleLoopUnswitch] Fix LCSSA phi node invalidation Fixes https://gi

[llvm-branch-commits] [llvm] [19.x] Backport standalone build fixes for offload (PR #118643)

2024-12-17 Thread Michał Górny via llvm-branch-commits
mgorny wrote: Thanks! Since it's a nice setup, and pretty much was broken before, I don't think there's a point in a release note. https://github.com/llvm/llvm-project/pull/118643 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Handle symbols in `.init_array` sections (#119127) (PR #119533)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/119533 >From 8069ce6ab1766a166b956192ad72c143be3b860e Mon Sep 17 00:00:00 2001 From: George Stagg Date: Wed, 4 Dec 2024 21:12:15 + Subject: [PATCH 1/2] [WebAssembly] Support multiple `.init_array` fragments when writin

[llvm-branch-commits] [llvm] release/19.x: [SimpleLoopUnswitch] Fix LCSSA phi node invalidation (PR #118870)

2024-12-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/118870 ___ 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] release/19.x: [AggressiveInstCombine] Use APInt and avoid truncation when folding loads (PR #118866)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/118866 ___ 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] 657e03f - [AggressiveInstCombine] Use APInt and avoid truncation when folding loads

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
Author: Antonio Frighetto Date: 2024-12-17T10:19:28+01:00 New Revision: 657e03f8625c9e7326f241aea584ff5c43b30ba3 URL: https://github.com/llvm/llvm-project/commit/657e03f8625c9e7326f241aea584ff5c43b30ba3 DIFF: https://github.com/llvm/llvm-project/commit/657e03f8625c9e7326f241aea584ff5c43b30ba3.d

[llvm-branch-commits] [llvm] release/19.x: [AggressiveInstCombine] Use APInt and avoid truncation when folding loads (PR #118866)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/118866 >From 657e03f8625c9e7326f241aea584ff5c43b30ba3 Mon Sep 17 00:00:00 2001 From: Antonio Frighetto Date: Wed, 4 Dec 2024 10:15:11 +0100 Subject: [PATCH] [AggressiveInstCombine] Use APInt and avoid truncation when foldi

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Handle symbols in `.init_array` sections (#119127) (PR #119533)

2024-12-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] 8e9465b - [WebAssembly] Handle symbols in `.init_array` sections (#119127)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
Author: George Stagg Date: 2024-12-17T10:12:46+01:00 New Revision: 8e9465bd150bcbe2d200efc7c0e31abf8ddebe58 URL: https://github.com/llvm/llvm-project/commit/8e9465bd150bcbe2d200efc7c0e31abf8ddebe58 DIFF: https://github.com/llvm/llvm-project/commit/8e9465bd150bcbe2d200efc7c0e31abf8ddebe58.diff

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Handle symbols in `.init_array` sections (#119127) (PR #119533)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/119533 ___ 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] 8069ce6 - [WebAssembly] Support multiple `.init_array` fragments when writing Wasm objects (#111008)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
Author: George Stagg Date: 2024-12-17T10:12:46+01:00 New Revision: 8069ce6ab1766a166b956192ad72c143be3b860e URL: https://github.com/llvm/llvm-project/commit/8069ce6ab1766a166b956192ad72c143be3b860e DIFF: https://github.com/llvm/llvm-project/commit/8069ce6ab1766a166b956192ad72c143be3b860e.diff

[llvm-branch-commits] [llvm] release/19.x: [Matrix] Skip already fused instructions before trying to fuse multiply. (PR #118020)

2024-12-17 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: @anemet or @francisvm , but at this point it may not be worth trying to pick this https://github.com/llvm/llvm-project/pull/118020 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

[llvm-branch-commits] [llvm] [19.x] Backport standalone build fixes for offload (PR #118643)

2024-12-17 Thread via llvm-branch-commits
=?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= Message-ID: In-Reply-To: github-actions[bot] wrote: @mgorny (or anyone else). If you would like to add a note about this fix in the release notes (completely op

[llvm-branch-commits] [lld] release/19.x: [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#107780) (PR #119723)

2024-12-17 Thread via llvm-branch-commits
github-actions[bot] wrote: @nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] [19.x] Backport standalone build fixes for offload (PR #118643)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
=?utf-8?q?Micha=C5=82_G=C3=B3rny?= , =?utf-8?q?Micha=C5=82_G=C3=B3rny?= , =?utf-8?q?Micha=C5=82_G=C3=B3rny?= , =?utf-8?q?Micha=C5=82_G=C3=B3rny?= , =?utf-8?q?Micha=C5=82_G=C3=B3rny?= Message-ID: In-Reply-To: https://github.com/tru closed https://github.com/llvm/llvm-project/pull/118643

[llvm-branch-commits] [llvm] [19.x] Backport standalone build fixes for offload (PR #118643)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
=?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= , =?utf-8?q?Michał_Górny?= Message-ID: In-Reply-To: https://github.com/tru updated https://github.com/llvm/llvm-project/pull/118643 >From be6e2e72cb51f95c852e6d6567c8b2d066dfd19e Mon Sep 1

[llvm-branch-commits] [lld] release/19.x: [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#107780) (PR #119723)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/119723 ___ 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] [lld] d2953ab - [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#107780)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
Author: Sam Clegg Date: 2024-12-17T10:06:24+01:00 New Revision: d2953ab0a79f9f2d2877703dbc235b92541faec9 URL: https://github.com/llvm/llvm-project/commit/d2953ab0a79f9f2d2877703dbc235b92541faec9 DIFF: https://github.com/llvm/llvm-project/commit/d2953ab0a79f9f2d2877703dbc235b92541faec9.diff LOG

[llvm-branch-commits] [lld] release/19.x: [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#107780) (PR #119723)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/119723 >From d2953ab0a79f9f2d2877703dbc235b92541faec9 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 9 Sep 2024 09:28:08 -0700 Subject: [PATCH] [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#10

[llvm-branch-commits] [llvm] release/19.x: [Matrix] Skip already fused instructions before trying to fuse multiply. (PR #118020)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Who can review this? https://github.com/llvm/llvm-project/pull/118020 ___ 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] release/19.x: [clang] hexagon: fix link order for libc/builtins (#117057) (PR #117968)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Can we get a review of this? https://github.com/llvm/llvm-project/pull/117968 ___ 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] release/19.x: [RISCV] Add hasPostISelHook to sf.vfnrclip pseudo instructions. (#114274) (PR #117948)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Can we get a review of this? https://github.com/llvm/llvm-project/pull/117948 ___ 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] release/19.x: [SimpleLoopUnswitch] Fix LCSSA phi node invalidation (PR #118870)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: @nikic is this fine to merge? https://github.com/llvm/llvm-project/pull/118870 ___ 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] release/19.x: [clang-format] Fix idempotent format of hash in macro body (#118513) (PR #119503)

2024-12-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: can we get a review on this? https://github.com/llvm/llvm-project/pull/119503 ___ 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] [Coro] Use DebugInfoCache to speed up cloning in CoroSplitPass (PR #118630)

2024-12-17 Thread Artem Pianykh via llvm-branch-commits
https://github.com/artempyanykh updated https://github.com/llvm/llvm-project/pull/118630 >From daedf07d8ca50dde9974f5d59a5cb55d4056c15b Mon Sep 17 00:00:00 2001 From: Artem Pianykh Date: Sun, 15 Sep 2024 11:00:00 -0700 Subject: [PATCH] [Coro] Use DebugInfoCache to speed up cloning in CoroSplit

  1   2   >