https://github.com/zhaoqi5 edited
https://github.com/llvm/llvm-project/pull/118054
___
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-backend-loongarch
Author: ZhaoQi (zhaoqi5)
Changes
Custom lower vector type bitreverse to scalar bitrev and vshuf4i instructions.
Keep `v2i64` and `v4i64` bitreverse `Expand`, it's good enough.
---
Full diff: https://github.com/llvm/llvm-project/pull/1
https://github.com/zhaoqi5 created
https://github.com/llvm/llvm-project/pull/118054
Custom lower vector type bitreverse to scalar bitrev and vshuf4i instructions.
Keep `v2i64` and `v4i64` bitreverse `Expand`, it's good enough.
>From f3065bddf7a325f1bbaefd9c1895a24669e3beda Mon Sep 17 00:00:00
https://github.com/matthias-springer updated
https://github.com/llvm/llvm-project/pull/117424
>From 5f1f24552547c6eac3e711155c35927356b9d862 Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Sat, 23 Nov 2024 08:22:13 +0100
Subject: [PATCH] [mlir][Func] Delete `DecomposeCallGraphTypes.cpp`
https://github.com/kiranchandramohan approved this pull request.
LG.
https://github.com/llvm/llvm-project/pull/117784
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co
TIFitis wrote:
As @agozillon requested, here's a sample of how Clang lowers declare mapper.
**C Code:**
```
typedef struct {
int *ptr;
int buf_size;
} T;
#pragma omp declare mapper(deep_copy : T abc) map(abc, abc.ptr[ : abc.buf_size])
int main() {
T xyz;
#pragma omp target data map(mapper(
@@ -2701,7 +2701,42 @@ static void
genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable,
semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval,
const parser::OpenMPDeclareMapperConstruct &declareMapperConstruct) {
- TODO(converter.getC
@@ -1285,7 +1285,7 @@ elseif(LLVM_ENABLE_LTO)
endif()
endif()
-if(LLVM_ENABLE_FATLTO AND UNIX AND NOT APPLE)
+if(LLVM_ENABLE_FATLTO AND ((UNIX AND NOT APPLE) OR FUCHSIA))
ldionne wrote:
I don't understand why that diff is required since you're setting it pr
https://github.com/ldionne requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/112277
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm
@@ -290,7 +504,86 @@ RegBankLegalizeRules::RegBankLegalizeRules(const
GCNSubtarget &_ST,
.Any({{UniS64, S32}, {{Sgpr64}, {Sgpr32}, Ext32To64}})
.Any({{DivS64, S32}, {{Vgpr64}, {Vgpr32}, Ext32To64}});
- addRulesForGOpcs({G_LOAD}).Any({{DivS32, DivP1}, {{Vgpr32}, {
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/112866
>From befab474546b9f44fa2b5d7961df8c0490aed692 Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Thu, 31 Oct 2024 14:10:57 +0100
Subject: [PATCH] MachineUniformityAnalysis: Improve isConstantOrUndefVa
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/112882
>From 75694f85585d7b07c17d68f32632310ba1d939a9 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
https://github.com/llvmbot milestoned
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
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: None (llvmbot)
Changes
Backport 12cefcc7ecd2615069206b35b0ea81b9e78bb1ea
Requested by: @fhahn
---
Full diff: https://github.com/llvm/llvm-project/pull/118020.diff
2 Files Affected:
- (modified) llvm/lib/Transforms/Scalar/Lowe
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/118020
Backport 12cefcc7ecd2615069206b35b0ea81b9e78bb1ea
Requested by: @fhahn
>From c186e5d3e0e88ef5f285c0fd5f33ae826f7d9221 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Thu, 28 Nov 2024 16:11:39 +
Subject:
@@ -116,6 +193,50 @@ void RegBankLegalizeHelper::lower(MachineInstr &MI,
MI.eraseFromParent();
break;
}
+ case SplitLoad: {
+LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
+unsigned Size = DstTy.getSizeInBits();
+// Even split to 128-bit loads
+i
@@ -233,6 +327,126 @@ RegBankLegalizeRules::getRulesForOpc(MachineInstr &MI)
const {
return GRules.at(GRulesAlias.at(Opc));
}
+// Syntactic sugar wrapper for predicate lambda that enables '&&', '||' and
'!'.
+class Predicate {
+public:
+ struct Elt {
+// Save formula
@@ -233,6 +327,126 @@ RegBankLegalizeRules::getRulesForOpc(MachineInstr &MI)
const {
return GRules.at(GRulesAlias.at(Opc));
}
+// Syntactic sugar wrapper for predicate lambda that enables '&&', '||' and
'!'.
+class Predicate {
+public:
+ struct Elt {
+// Save formula
https://github.com/nhaehnle commented:
I have a bunch of comments, but apart from that the change LGTM
https://github.com/llvm/llvm-project/pull/112882
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-b
@@ -233,6 +327,126 @@ RegBankLegalizeRules::getRulesForOpc(MachineInstr &MI)
const {
return GRules.at(GRulesAlias.at(Opc));
}
+// Syntactic sugar wrapper for predicate lambda that enables '&&', '||' and
'!'.
+class Predicate {
+public:
+ struct Elt {
+// Save formula
@@ -290,7 +504,86 @@ RegBankLegalizeRules::RegBankLegalizeRules(const
GCNSubtarget &_ST,
.Any({{UniS64, S32}, {{Sgpr64}, {Sgpr32}, Ext32To64}})
.Any({{DivS64, S32}, {{Vgpr64}, {Vgpr32}, Ext32To64}});
- addRulesForGOpcs({G_LOAD}).Any({{DivS32, DivP1}, {{Vgpr32}, {
@@ -233,6 +327,126 @@ RegBankLegalizeRules::getRulesForOpc(MachineInstr &MI)
const {
return GRules.at(GRulesAlias.at(Opc));
}
+// Syntactic sugar wrapper for predicate lambda that enables '&&', '||' and
'!'.
+class Predicate {
+public:
+ struct Elt {
+// Save formula
@@ -233,6 +327,126 @@ RegBankLegalizeRules::getRulesForOpc(MachineInstr &MI)
const {
return GRules.at(GRulesAlias.at(Opc));
}
+// Syntactic sugar wrapper for predicate lambda that enables '&&', '||' and
'!'.
+class Predicate {
+public:
+ struct Elt {
+// Save formula
@@ -290,7 +504,86 @@ RegBankLegalizeRules::RegBankLegalizeRules(const
GCNSubtarget &_ST,
.Any({{UniS64, S32}, {{Sgpr64}, {Sgpr32}, Ext32To64}})
.Any({{DivS64, S32}, {{Vgpr64}, {Vgpr32}, Ext32To64}});
- addRulesForGOpcs({G_LOAD}).Any({{DivS32, DivP1}, {{Vgpr32}, {
https://github.com/nhaehnle edited
https://github.com/llvm/llvm-project/pull/112882
___
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/mjklemm approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/116049
___
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/mjklemm approved this pull request.
LGTM, albeit not being a true expert here. But the general idea looks fine to
me.
https://github.com/llvm/llvm-project/pull/116219
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.l
https://github.com/mjklemm approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/117875
___
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/Keenuts approved this pull request.
Sorry thought I had approved this one earlier.
https://github.com/llvm/llvm-project/pull/117462
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
https://github.com/ldionne dismissed
https://github.com/llvm/llvm-project/pull/110217
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Tom Eccles
Date: 2024-11-28T10:40:48Z
New Revision: 0c60a3b204f8a13bf440474a9b28148ede541a87
URL:
https://github.com/llvm/llvm-project/commit/0c60a3b204f8a13bf440474a9b28148ede541a87
DIFF:
https://github.com/llvm/llvm-project/commit/0c60a3b204f8a13bf440474a9b28148ede541a87.diff
LOG: Re
Meinersbur wrote:
> Question about multi-versioning. Say I want to 1. build flang, 2. build
> flang_rt with -O0 -g out of tree, 3. build flang_rt with -O3 out of tree.
>
> When I am trying that with the patch, step 3. build and install libflang_rt.a
> override the ones from setp 2. Is there a
jayfoad wrote:
> If we have out of bounds indexing, these will now clamp down to
> a low bit which may CSE with the operations on the low half of the
> wave.
Should mention that in the comment in the code. It was not clear to me why you
would want to clamp constants.
https://github.com/llvm/ll
33 matches
Mail list logo