https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 4a47d3fd2f29c66c2230f40d7cca8fdbd1238abd Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:37:17 -0500
Subject: [PATCH] [SelectionDAG] Legalize <1 x T> vector types for atomic load
`load atomic
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 5bc5d3291ad26fa3af646e45bd5d491d03588d98 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG][X86] Widen <2 x T> vector types for atomic
load
Vector ty
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 0824a27d19d3a26eaf9d1ce0b04cf09dbf3cab4b Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:38:23 -0500
Subject: [PATCH] [X86] Manage atomic load of fp -> int promotion in DAG
When lowering atom
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120716
>From 855430ef05b0a8cfe6696ec62f827cab6d663655 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 20 Dec 2024 06:14:28 -0500
Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector
AtomicExpan
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 4a47d3fd2f29c66c2230f40d7cca8fdbd1238abd Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:37:17 -0500
Subject: [PATCH] [SelectionDAG] Legalize <1 x T> vector types for atomic load
`load atomic
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/125432
>From abb646bbd716e2b12e10961c80c28dcfde8d66f5 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 31 Jan 2025 13:12:56 -0500
Subject: [PATCH] [SelectionDAG][X86] Remove unused elements from atomic
vector.
After spl
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 6d045290b83d4abb2765e6d323d7a441aab6445c Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:40:32 -0500
Subject: [PATCH] [X86] Add atomic vector tests for unaligned >1 sizes.
Unaligned atomic ve
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 0824a27d19d3a26eaf9d1ce0b04cf09dbf3cab4b Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:38:23 -0500
Subject: [PATCH] [X86] Manage atomic load of fp -> int promotion in DAG
When lowering atom
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 5bc5d3291ad26fa3af646e45bd5d491d03588d98 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG][X86] Widen <2 x T> vector types for atomic
load
Vector ty
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120716
>From 855430ef05b0a8cfe6696ec62f827cab6d663655 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 20 Dec 2024 06:14:28 -0500
Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector
AtomicExpan
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/138043
>From f58e2d5c079f31d7a4d99d481a569ad4c754c4e7 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Wed, 30 Apr 2025 15:08:04 -0700
Subject: [PATCH 1/2] [HLSL] Implementation of DXILResourceImplicitBinding pass
Thi
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/138043
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/138043
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -3623,6 +3623,9 @@ static llvm::omp::OpenMPOffloadMappingFlags
mapParentWithMembers(
LLVM::ModuleTranslation &moduleTranslation, llvm::IRBuilderBase &builder,
llvm::OpenMPIRBuilder &ompBuilder, DataLayout &dl, MapInfosTy
&combinedInfo,
MapInfoData &mapData, uin
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 7f2115c386e164541ba579eefd87bdfbb45c2890 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:37:17 -0500
Subject: [PATCH] [SelectionDAG] Legalize <1 x T> vector types for atomic load
`load atomic
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 867af9f33e61399964c51dd0c40dfcf37ec0a1e0 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG][X86] Widen <2 x T> vector types for atomic
load
Vector ty
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From a60144bede07d2ca53f5f3a48009b10d10f8c082 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:40:32 -0500
Subject: [PATCH] [X86] Add atomic vector tests for unaligned >1 sizes.
Unaligned atomic ve
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120640
>From 79fce921b0cb321760da43ede34e58d4e0880d33 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 16:25:55 -0500
Subject: [PATCH] [SelectionDAG][X86] Split via Concat vector types for
atomic load
Vecto
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120716
>From be154f89c03bf89ee99d213ca954c77c44fc4e9c Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 20 Dec 2024 06:14:28 -0500
Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector
AtomicExpan
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 867af9f33e61399964c51dd0c40dfcf37ec0a1e0 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG][X86] Widen <2 x T> vector types for atomic
load
Vector ty
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 867af9f33e61399964c51dd0c40dfcf37ec0a1e0 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG][X86] Widen <2 x T> vector types for atomic
load
Vector ty
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120716
>From be154f89c03bf89ee99d213ca954c77c44fc4e9c Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 20 Dec 2024 06:14:28 -0500
Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector
AtomicExpan
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From cb2e5bc0ea3c3d0ccc3f684ef9bced8b30c7e74e Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:38:23 -0500
Subject: [PATCH] [X86] Manage atomic load of fp -> int promotion in DAG
When lowering atom
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/125432
>From d382b955279cf3699599f1885e4c47af5f5bda2e Mon Sep 17 00:00:00 2001
From: jofrn
Date: Fri, 31 Jan 2025 13:12:56 -0500
Subject: [PATCH] [SelectionDAG][X86] Remove unused elements from atomic
vector.
After spl
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 7f2115c386e164541ba579eefd87bdfbb45c2890 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Wed, 18 Dec 2024 03:37:17 -0500
Subject: [PATCH] [SelectionDAG] Legalize <1 x T> vector types for atomic load
`load atomic
ilovepi 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/138059?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/138062
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/138061
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/138060
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/138059
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
ilovepi 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/138067?utm_source=stack-comment-downstack-mergeability-warning";
ilovepi 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/138065?utm_source=stack-comment-downstack-mergeability-warning";
ilovepi 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/138063?utm_source=stack-comment-downstack-mergeability-warning";
ilovepi 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/138064?utm_source=stack-comment-downstack-mergeability-warning";
ilovepi 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/138066?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138067
Originally part of #133161. This patch adds preliminary tracking
for of TypeInfo, by tracking if the type is a builtin or template.
The new functionality is not yet exercised.
Co-authored-by: Peter Chou
ilovepi 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/138062?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138066
This patch adds a command line option and enables the Mustache template
HTML backend. This allows users to use the new, more flexible templates
over the old and cumbersome HTML output. Split from #133161.
Co-aut
ilovepi 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/138060?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138065
This patch updates Serialize.cpp to serialize more data about C++
templates, which are supported by the new mustache HTML template.
Split from #133161.
Co-authored-by: Peter Chou
Rate l
ilovepi 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/138061?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138062
This patch adds or fills in some helper functions related to template
setup when initializing the mustache backend. It was split from #133161.
Co-authored-by: Peter Chou
>From 77bb241f4c6d69e934296a54040e233f9
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138064
This patch implements the business logic for setupTemplateValue, which
was split from #133161. The implementation configures the relative path
relationships between the various HTML components, and prepares them
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138063
Split from #133161. This patch provides the implementation of a number
of extractValue overloads used with the different types of Info.
The new helper functions extract the relevant information from the
differen
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138059
This patch adds the various assets used with the HTML Mustache backend.
This includes templates for a variety of different language constructs,
as well as the CSS. Split from #133161.
Co-authored-by: Peter Chou
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138061
Split from #133161. This patch fills in the implementation for a number
of the MustacheHTMLGenerator methods. Many of these APIs are just
stubbed out, and will have their implementation filled in by later
patches
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/138060
Split from #133161. This patch adds HTMLMustacheGenerator.cpp, and
the most basic class defintion for the generator. Future patches will
add functionality.
Co-authored-by: Peter Chou
>From 397d5dc9657733afa951
arichardson wrote:
> So, `ptr addrspace(7)` is, in your terms `{{flags, length, [stride == 0],
> base}, offset}` where that inner struct is a `ptr addrspace(8)`. p9 is
> `{{flags, length, stride, base}, index, offset}`.
>
> The common usage pattern I'd expect for ptr addrspace(7) is to make `b
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
- defines the `RootFlags` in-memory enum
- defines `parseRootFlags` to parse the various flag enums into a single
`uint32_t`
- adds corresponding unit tests
- improves the diagnosti
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/138055
- defines the `RootFlags` in-memory enum
- defines `parseRootFlags` to parse the various flag enums into a single
`uint32_t`
- adds corresponding unit tests
- improves the diagnostic message for when we provide
ilovepi wrote:
@efriedma-quic We've been discussing the topic of LTOing libc quite a bit
internally, and are currently sketching out how this could work.
Unsurprisingly, there's quite a lot to think about in both the compiler and
linker, and how the two combine in our different versions of LTO
@@ -0,0 +1,44 @@
+; RUN: opt -S -dxil-resource-implicit-binding %s | FileCheck %s
hekota wrote:
I just realized this test is not complete... working on a fix.
https://github.com/llvm/llvm-project/pull/138043
___
llvm-b
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
Author: Helena Kotas (hekota)
Changes
The `DXILResourceImplicitBinding` pass uses the results of
`DXILResourceBindingAnalysis` to assigns register slots to resources that do
not have explicit binding. It replaces all
`llvm.dx.resource.
llvmbot wrote:
@llvm/pr-subscribers-llvm-analysis
Author: Helena Kotas (hekota)
Changes
The `DXILResourceImplicitBinding` pass uses the results of
`DXILResourceBindingAnalysis` to assigns register slots to resources that do
not have explicit binding. It replaces all
`llvm.dx.resource.ha
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/138043
The `DXILResourceImplicitBinding` pass uses the results of
`DXILResourceBindingAnalysis` to assigns register slots to resources that do
not have explicit binding. It replaces all
`llvm.dx.resource.handlefromimp
krzysz00 wrote:
> I think we just have to pretend that virtual addresses or segment-relative
> addresses are the only thing that matters.
This is why I've been advocating for the index-based definition of ptrtoaddr.
So there's no need to do this 48-bit thing on the assumption that the base of
https://github.com/rnk approved this pull request.
Let's cherry pick it.
https://github.com/llvm/llvm-project/pull/138017
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc
https://github.com/rnk edited https://github.com/llvm/llvm-project/pull/138017
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -3552,7 +3552,22 @@ void MicrosoftCXXNameMangler::mangleType(const
DependentSizedExtVectorType *T,
void MicrosoftCXXNameMangler::mangleType(const ConstantMatrixType *T,
Qualifiers quals, SourceRange Range) {
- Error(Range.getBegin(
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM
Discourse](https://discourse.llvm.org/t/hidden-email
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/138017
Backport f5a30f111dc4ad6422863722eb708059a68a9d5c
Requested by: @tstellar
>From bc9b07f09ab1c728e4dcce614eb4ccfa2e5e52c7 Mon Sep 17 00:00:00 2001
From: Losy001 <64610343+losy...@users.noreply.github.com>
Date:
llvmbot wrote:
@rnk What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/138017
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/138017
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/138002
>From 15857bf8e1303e2325b48e417e7abd26aa77910e Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Wed, 30 Apr 2025 17:53:11 +
Subject: [PATCH 1/2] [HLSL][RootSignature] Add mandatory parameters for
RootConst
arichardson wrote:
> So p9 is quite weird. It's used, IIRC, by,
> https://github.com/GPUOpen-Drivers/llpc internally to represent "structured"
> pointers, and so its interpretation is `{p8 rsrc, i32 index, i32 offset}` .
> This does still have a 48-bit effective address by way of a thoroughly
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/138007
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: Finn Plummer (inbelic)
Changes
- extends `parseRootConstantParams` and the struct to include the optional
parameters of a RootConstant
- adds corresponding unit tests
Part three of and resolves https://github.co
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/138007
- extends `parseRootConstantParams` and the struct to include the optional
parameters of a RootConstant
- adds corresponding unit tests
Part three of and resolves https://github.com/llvm/llvm-project/issues/12
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/138002
>From 15857bf8e1303e2325b48e417e7abd26aa77910e Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Wed, 30 Apr 2025 17:53:11 +
Subject: [PATCH] [HLSL][RootSignature] Add mandatory parameters for
RootConstants
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Finn Plummer (inbelic)
Changes
- defines the `parseRootConstantParams` function and adds handling for the
mandatory arguments of `num32BitConstants` and `bReg`
- adds corresponding unit tests
Part two of implementing #126576
---
Full d
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
- defines the `parseRootConstantParams` function and adds handling for the
mandatory arguments of `num32BitConstants` and `bReg`
- adds corresponding unit tests
Part two of implementing #126576
---
Full di
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/138002
- defines the `parseRootConstantParams` function and adds handling for the
mandatory arguments of `num32BitConstants` and `bReg`
- adds corresponding unit tests
Part two of implementing #126576
>From 15857bf
sbc100 wrote:
> cc @tstellar
>
> Not sure you saw my tag above but as I mentioned here [#137620
> (comment)](https://github.com/llvm/llvm-project/pull/137620#issuecomment-2834979164)
> I had to manually backport this due to some merge conflicts. This was
> critical for downstream projects and
https://github.com/jthackray updated
https://github.com/llvm/llvm-project/pull/137702
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans
https://github.com/jthackray updated
https://github.com/llvm/llvm-project/pull/137703
>From c47eaad006a6310f667ac5e12589935b5e62a322 Mon Sep 17 00:00:00 2001
From: Jonathan Thackray
Date: Wed, 23 Apr 2025 21:10:31 +
Subject: [PATCH] [AArch64][llvm] Codegen for 16/32/64-bit floating-point
a
@@ -688,28 +689,32 @@ MCSectionGOFF *MCContext::getGOFFSection(SectionKind
Kind, StringRef Name,
return Iter->second;
StringRef CachedName = StringRef(Iter->first.c_str(), Name.size());
- MCSectionGOFF *GOFFSection = new (GOFFAllocator.Allocate()) MCSectionGOFF(
-
https://github.com/atrosinenko edited
https://github.com/llvm/llvm-project/pull/137975
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
atrosinenko 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/137975?utm_source=stack-comment-downstack-mergeability-warni
llvmbot wrote:
@llvm/pr-subscribers-bolt
Author: Anatoly Trosinenko (atrosinenko)
Changes
An authenticated pointer can be explicitly checked by the compiler via a
sequence of instructions that executes BRK on failure. It is important
to recognize such BRK instruction as checking every regi
https://github.com/atrosinenko ready_for_review
https://github.com/llvm/llvm-project/pull/137975
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135663
>From 46e3e96a9c0ffab84ee7003621041b7bf76f3d78 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Sat, 5 Apr 2025 14:54:01 +0300
Subject: [PATCH 1/4] [BOLT] Gadget scanner: detect authentication oracles
https://github.com/atrosinenko created
https://github.com/llvm/llvm-project/pull/137975
An authenticated pointer can be explicitly checked by the compiler via a
sequence of instructions that executes BRK on failure. It is important
to recognize such BRK instruction as checking every register (as
@@ -986,11 +986,23 @@ InstructionCost TargetTransformInfo::getShuffleCost(
TargetTransformInfo::PartialReductionExtendKind
TargetTransformInfo::getPartialReductionExtendKind(Instruction *I) {
- if (isa(I))
-return PR_SignExtend;
- if (isa(I))
+ auto *Cast = dyn_cast(I);
@@ -2432,12 +2437,40 @@ static void
tryToCreateAbstractReductionRecipe(VPReductionRecipe *Red,
Red->replaceAllUsesWith(AbstractR);
}
+/// This function tries to create an abstract recipe from a partial reduction
to
+/// hide its mul and extends from cost estimation.
+stati
@@ -986,11 +986,23 @@ InstructionCost TargetTransformInfo::getShuffleCost(
TargetTransformInfo::PartialReductionExtendKind
TargetTransformInfo::getPartialReductionExtendKind(Instruction *I) {
- if (isa(I))
-return PR_SignExtend;
- if (isa(I))
+ auto *Cast = dyn_cast(I);
https://github.com/CarolineConcatto approved this pull request.
Thank you Jonathan,
LGTM!
https://github.com/llvm/llvm-project/pull/137703
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
https://github.com/CarolineConcatto approved this pull request.
I could not spot any significant difference between fmin and fminimum. So I
believe this is fine. Thank you for the work Jonathan
https://github.com/llvm/llvm-project/pull/137702
___
llv
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135663
>From 46e3e96a9c0ffab84ee7003621041b7bf76f3d78 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Sat, 5 Apr 2025 14:54:01 +0300
Subject: [PATCH 1/4] [BOLT] Gadget scanner: detect authentication oracles
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137224
>From 33158bcada96af1d201a5cb5342f0256f30894cd Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 22 Apr 2025 21:43:14 +0300
Subject: [PATCH] [BOLT] Gadget scanner: detect untrusted LR before tail
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135661
>From b942d6e9dc8858653e4669d6a1b8e50f0dc19061 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 14 Apr 2025 14:35:56 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: use more appropriate types (
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/136147
>From 59afabd2a0b89f6e529f58cd17ac56673e2c0599 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 17 Apr 2025 15:40:05 +0300
Subject: [PATCH] [BOLT] Gadget scanner: clarify MCPlusBuilder callbacks
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/136183
>From 352364dfc00d23111fc44bc807d3484bc67aff00 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 17 Apr 2025 20:51:16 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: improve handling of unreacha
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135662
>From 0d477fa179d365147d2cd809724b07f050603ff6 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 14 Apr 2025 15:08:54 +0300
Subject: [PATCH 1/5] [BOLT] Gadget scanner: refactor issue reporting
Re
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/136147
>From 59afabd2a0b89f6e529f58cd17ac56673e2c0599 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 17 Apr 2025 15:40:05 +0300
Subject: [PATCH] [BOLT] Gadget scanner: clarify MCPlusBuilder callbacks
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135662
>From 0d477fa179d365147d2cd809724b07f050603ff6 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 14 Apr 2025 15:08:54 +0300
Subject: [PATCH 1/5] [BOLT] Gadget scanner: refactor issue reporting
Re
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/135661
>From b942d6e9dc8858653e4669d6a1b8e50f0dc19061 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Mon, 14 Apr 2025 14:35:56 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: use more appropriate types (
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/136183
>From 352364dfc00d23111fc44bc807d3484bc67aff00 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 17 Apr 2025 20:51:16 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: improve handling of unreacha
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/136151
>From a0a9cdfe1b7dacc9193317ef2ef8e340076067e7 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 15 Apr 2025 21:47:18 +0300
Subject: [PATCH] [BOLT] Gadget scanner: do not crash on debug-printing C
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137224
>From 33158bcada96af1d201a5cb5342f0256f30894cd Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 22 Apr 2025 21:43:14 +0300
Subject: [PATCH] [BOLT] Gadget scanner: detect untrusted LR before tail
@@ -1425,8 +1453,14 @@ static bool runImpl(Module &M, AnalysisGetter &AG,
TargetMachine &TM,
}
}
- ChangeStatus Change = A.run();
- return Change == ChangeStatus::CHANGED;
+ bool Changed = A.run() == ChangeStatus::CHANGED;
+
+ if (Changed && (LTOPhase == ThinOrFullL
1 - 100 of 126 matches
Mail list logo