arsenm wrote:
> I would appreciate if we can put it after #11691. Register class is handled
> by #116913 but still needs suggestions from reviewers...
First PR number seems to be a typo
https://github.com/llvm/llvm-project/pull/120557
___
llvm-branc
paperchalice wrote:
I would appreciate if we can put it after #11691. Register class is handled by
#116913 but still needs suggestions from reviewers...
https://github.com/llvm/llvm-project/pull/120557
___
llvm-branch-commits mailing list
llvm-branch-
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/120387
___
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/arsenm requested changes to this pull request.
Title change doesn't make sense. It's less useful to test the underlined cases.
The baseline tests must include properly aligned atomics. Those are the case
that we are interested in surviving until the DAG. The unaligned case ar
@@ -2595,6 +2595,10 @@ X86TargetLowering::X86TargetLowering(const
X86TargetMachine &TM,
setOperationAction(Op, MVT::f32, Promote);
}
+ setOperationPromotedToType(ISD::ATOMIC_LOAD, MVT::f16, MVT::i16);
arsenm wrote:
SelectionDAG making anything leg
@@ -145,3 +145,40 @@ define <1 x i64> @atomic_vec1_i64_align(ptr %x) nounwind {
%ret = load atomic <1 x i64>, ptr %x acquire, align 8
ret <1 x i64> %ret
}
+
+define <1 x half> @atomic_vec1_half(ptr %x) {
+; CHECK3-LABEL: atomic_vec1_half:
+; CHECK3: ## %bb.0:
+; CHECK
@@ -145,3 +145,40 @@ define <1 x i64> @atomic_vec1_i64_align(ptr %x) nounwind {
%ret = load atomic <1 x i64>, ptr %x acquire, align 8
ret <1 x i64> %ret
}
+
+define <1 x half> @atomic_vec1_half(ptr %x) {
arsenm wrote:
Add the bfloat test
https://github.c
@@ -711,28 +726,66 @@ void MachineSinking::FindCycleSinkCandidates(
}
}
-bool MachineSinking::runOnMachineFunction(MachineFunction &MF) {
+PreservedAnalyses
+MachineSinkingPass::run(MachineFunction &MF,
+MachineFunctionAnalysisManager &MFAM) {
+ Mach
@@ -887,6 +887,9 @@ struct CounterCoverageMappingBuilder
/// The map of statements to count values.
llvm::DenseMap &CounterMap;
+ CounterExpressionBuilder::ReplaceMap MapToExpand;
+ unsigned NextCounterNum;
ornata wrote:
OK
https://github.com/llvm/llvm
@@ -638,6 +638,10 @@ static unsigned getMaxCounterID(const
CounterMappingContext &Ctx,
unsigned MaxCounterID = 0;
for (const auto &Region : Record.MappingRegions) {
MaxCounterID = std::max(MaxCounterID, Ctx.getMaxCounterID(Region.Count));
+if (Region.Kind == Counte
https://github.com/cdevadas approved this pull request.
https://github.com/llvm/llvm-project/pull/120556
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -127,6 +130,8 @@ class MachineSinking : public MachineFunctionPass {
const MachineBranchProbabilityInfo *MBPI = nullptr;
AliasAnalysis *AA = nullptr;
RegisterClassInfo RegClassInfo;
+ Pass *LegacyPass;
+ MachineFunctionAnalysisManager *MFAM;
cdevadas
@@ -176,13 +176,21 @@ MACHINE_FUNCTION_PASS("verify",
MachineTraceMetricsVerifi
#define MACHINE_FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER,
\
PARAMS)
#endif
+MACHINE_FUNCTION_PASS_WITH_PARAMS(
+"machine-sink", "
jofrn wrote:
> * New IR allowed in the verifier. It will not yet compile, but
> bitcode/textual IR creation/reading/writing works.
> * AtomicExpandPass handles vector types correctly. Now the IR-level transform
> works; backend target lowering still broken.
> * Generic SelectionDAG legalization
@@ -2099,6 +2100,28 @@ void AMDGPUCodeGenPassBuilder::addMachineSSAOptimization(
addPass(SIShrinkInstructionsPass());
}
+static const char RegAllocNPMNotSupportedMessage[] =
+"-regalloc-npm not supported with amdgcn. Use -sgpr-regalloc-npm, "
+"-wwm-regalloc-npm, and
@@ -1075,7 +1075,22 @@ void CodeGenPassBuilder::addTargetRegisterAllocator(
template
void CodeGenPassBuilder::addRegAllocPass(
AddMachinePass &addPass, bool Optimized) const {
- // TODO: Parse Opt.RegAlloc to add register allocator.
+ // Use the specified -regalloc-npm={
@@ -1315,6 +1315,20 @@ parseBoundsCheckingOptions(StringRef Params) {
return Mode;
}
+Expected
+parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
+ if (Params.empty() || Params == "all") {
+return RAGreedyPass::Options();
+ }
+ std::optional Filter =
@@ -1315,6 +1315,20 @@ parseBoundsCheckingOptions(StringRef Params) {
return Mode;
}
+Expected
+parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
+ if (Params.empty() || Params == "all") {
+return RAGreedyPass::Options();
+ }
arsenm wr
https://github.com/paperchalice approved this pull request.
https://github.com/llvm/llvm-project/pull/120554
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -2595,6 +2595,10 @@ X86TargetLowering::X86TargetLowering(const
X86TargetMachine &TM,
setOperationAction(Op, MVT::f32, Promote);
}
+ setOperationPromotedToType(ISD::ATOMIC_LOAD, MVT::f16, MVT::i16);
jofrn wrote:
`bf16` is already lowered properl
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 24fe5801d879e480a2f0ddda878dfd3f1ebc9f26 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/120385
>From 8bb658304c3a0c83dd0f0206310bb12471551bd2 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/120387
>From ebba5053a4838e410e2ac3a3a839e2c0a9e15c19 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 34df4f74a9eae77a06dac0867a36cc15b9060b63 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 16:25:55 -0500
Subject: [PATCH] [SelectionDAG] Split vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From ebba5053a4838e410e2ac3a3a839e2c0a9e15c19 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/120385
>From 8bb658304c3a0c83dd0f0206310bb12471551bd2 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 2949391e9e34083b584bb086bf4a75125fb371fc Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 24fe5801d879e480a2f0ddda878dfd3f1ebc9f26 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/120387
>From ebba5053a4838e410e2ac3a3a839e2c0a9e15c19 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/120598
>From 2949391e9e34083b584bb086bf4a75125fb371fc Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 8bb658304c3a0c83dd0f0206310bb12471551bd2 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/120386
>From 24fe5801d879e480a2f0ddda878dfd3f1ebc9f26 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/120640
>From 34df4f74a9eae77a06dac0867a36cc15b9060b63 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 16:25:55 -0500
Subject: [PATCH] [SelectionDAG] Split vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120640
>From 34df4f74a9eae77a06dac0867a36cc15b9060b63 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 16:25:55 -0500
Subject: [PATCH] [SelectionDAG] Split vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 2949391e9e34083b584bb086bf4a75125fb371fc Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From b2f0b3332a34856abe3cda1666449117f32de512 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 7062c7198f09b30220a8cca68f3178d01ea0d91d 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 created
https://github.com/llvm/llvm-project/pull/120640
`load atomic ` is not valid. This change splits
vector types of atomic load in SelectionDAG
so that it can translate vectors of >1 size with type bfloat,half.
---
**Stack**:
- #120640 ⬅
- #120598
- #120387
- #120
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From faa0e0380e38bb33315ecb1bfe2818cd04456a72 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/120386
>From 7062c7198f09b30220a8cca68f3178d01ea0d91d 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/120387
>From a769a32045a2810683d57c7c28aea1bda1140731 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/120385
>From faa0e0380e38bb33315ecb1bfe2818cd04456a72 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/120387
>From a769a32045a2810683d57c7c28aea1bda1140731 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/120598
>From b2f0b3332a34856abe3cda1666449117f32de512 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
Author: Petr Hosek
Date: 2024-12-19T12:53:18-08:00
New Revision: c4d8d4d099df0026d61f5d48e57d3bbe22961596
URL:
https://github.com/llvm/llvm-project/commit/c4d8d4d099df0026d61f5d48e57d3bbe22961596
DIFF:
https://github.com/llvm/llvm-project/commit/c4d8d4d099df0026d61f5d48e57d3bbe22961596.diff
LO
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 69525077a9a60df9ce7893ab604a1126ffe9ab09 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/120387
>From 3cf21cf7e83296d2866a5952596e64e6df1ccf2b 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/120387
>From 3cf21cf7e83296d2866a5952596e64e6df1ccf2b 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/120385
>From a3e83cb60cdc9c1857047ef619e29f94575bf98d 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/120386
>From 0d6882e29e2439d3de79b705cb7986c6608cf0c1 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 89503f2970baadbb1790674aca3a32d1292c6a6f Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 89503f2970baadbb1790674aca3a32d1292c6a6f Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 0d6882e29e2439d3de79b705cb7986c6608cf0c1 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 89503f2970baadbb1790674aca3a32d1292c6a6f Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 69525077a9a60df9ce7893ab604a1126ffe9ab09 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/120598
>From 3f37dfcfe7c64e88a0ea7bb6a27c82d43a6876c8 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 7ca91cce822c650fdb12a4ff567d1535693aeff9 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/120385
>From 245acf76f68c5c84080a9e5d3e0727e6cd4e6d77 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/120386
>From 7ca91cce822c650fdb12a4ff567d1535693aeff9 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 3f37dfcfe7c64e88a0ea7bb6a27c82d43a6876c8 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120598
>From 3f37dfcfe7c64e88a0ea7bb6a27c82d43a6876c8 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 245acf76f68c5c84080a9e5d3e0727e6cd4e6d77 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/120385
>From 245acf76f68c5c84080a9e5d3e0727e6cd4e6d77 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/120386
>From 7ca91cce822c650fdb12a4ff567d1535693aeff9 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/120387
>From 69525077a9a60df9ce7893ab604a1126ffe9ab09 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
Author: Ryosuke Niwa
Date: 2024-12-19T11:25:52-08:00
New Revision: 274a82ba5fa84333f29d9612deadf53021ee8d8a
URL:
https://github.com/llvm/llvm-project/commit/274a82ba5fa84333f29d9612deadf53021ee8d8a
DIFF:
https://github.com/llvm/llvm-project/commit/274a82ba5fa84333f29d9612deadf53021ee8d8a.diff
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 34492d9a69161f6e844dec1071e03eb3637cae66 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/120598
>From d558091dadd8ad58917fddde9ac87dd51c78d5b9 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 34492d9a69161f6e844dec1071e03eb3637cae66 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/120385
>From 99296f339bb3f9c183c3c6aaac7ce2e7a288e483 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/120387
>From 34492d9a69161f6e844dec1071e03eb3637cae66 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 40392eb6f36ea8f4fb73542791250a73dc999e6b 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/120385
>From 99296f339bb3f9c183c3c6aaac7ce2e7a288e483 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 d558091dadd8ad58917fddde9ac87dd51c78d5b9 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 99296f339bb3f9c183c3c6aaac7ce2e7a288e483 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/120386
>From 40392eb6f36ea8f4fb73542791250a73dc999e6b 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 d558091dadd8ad58917fddde9ac87dd51c78d5b9 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From 40392eb6f36ea8f4fb73542791250a73dc999e6b 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
dwblaikie wrote:
Unit test coverage?
https://github.com/llvm/llvm-project/pull/120555
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
jyknight wrote:
> The tests posted in the review work from that point on, except [...]
Sure, I agree that the tests which have been added pass. But the tests do not
currently test everything necessary for this feature to be complete.
What I see here is a series of PRs each adding some part of
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From e0a02b6ddfd8aa827e3d61a3fc455ace49c16fed 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/120387
>From f7691a8b3c3dccabc106ac21964ef5c86cda8c01 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/120385
>From 5f30edff1e50df5e04f8d59a8da38809c5beb845 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/120387
>From f7691a8b3c3dccabc106ac21964ef5c86cda8c01 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/120598
>From cbaaeeb0edb63f1d158435d8ba68109f62ef52a6 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From f7691a8b3c3dccabc106ac21964ef5c86cda8c01 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/120385
>From 5f30edff1e50df5e04f8d59a8da38809c5beb845 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/120385
>From 5f30edff1e50df5e04f8d59a8da38809c5beb845 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/120386
>From e0a02b6ddfd8aa827e3d61a3fc455ace49c16fed 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 cbaaeeb0edb63f1d158435d8ba68109f62ef52a6 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120386
>From e0a02b6ddfd8aa827e3d61a3fc455ace49c16fed 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 cbaaeeb0edb63f1d158435d8ba68109f62ef52a6 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 19 Dec 2024 11:19:39 -0500
Subject: [PATCH] [SelectionDAG] Widen vector types for atomic load
`load atomic ` is not
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 37e162b6c33dbd9feebe5939986a0efb2abf937c
d5cbbec6bb3c54592e801c033903358b6cbce6f1 --e
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
@llvm/pr-subscribers-llvm-selectiondag
Author: None (jofrn)
Changes
`load atomic ` is not valid. This change widens
vector types of atomic load in SelectionDAG
so that it can translate aligned vectors of >1 size.
---
**Stack**:
- #12
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120387
>From 37e162b6c33dbd9feebe5939986a0efb2abf937c 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 b4f0562744c111e21a8cb31269a5433bd0edf763 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/120387
>From 37e162b6c33dbd9feebe5939986a0efb2abf937c 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 created
https://github.com/llvm/llvm-project/pull/120598
`load atomic ` is not valid. This change widens
vector types of atomic load in SelectionDAG
so that it can translate aligned vectors of >1 size.
---
**Stack**:
- #120387
- #120386
- #120385
- #120384
⚠️ *Part o
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/120385
>From 3796cf709c242c76dd14d52aa40e8e54c9841d15 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/120386
>From b4f0562744c111e21a8cb31269a5433bd0edf763 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
1 - 100 of 172 matches
Mail list logo