llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: None (llvmbot)
Changes
Backport 2cd59bdc891ab59a1abfe5205feb45791a530a47
11d115d0569b212dfeb7fe6485be48070e068e19
815644b4dd882ade2e5649d4f97c3dd6f7aea200
Requested by: @patrick-rivos
---
Full diff:
llvmbot wrote:
@topperc What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/82572
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/82572
___
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/llvmbot created
https://github.com/llvm/llvm-project/pull/82572
Backport 2cd59bdc891ab59a1abfe5205feb45791a530a47
11d115d0569b212dfeb7fe6485be48070e068e19
815644b4dd882ade2e5649d4f97c3dd6f7aea200
Requested by: @patrick-rivos
>From fc403298006a5d8cac015dd932bc86b15f6f1f1c
https://github.com/whentojump edited
https://github.com/llvm/llvm-project/pull/82571
___
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/whentojump milestoned
https://github.com/llvm/llvm-project/pull/82571
___
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/whentojump created
https://github.com/llvm/llvm-project/pull/82571
Manually cherry-pick 0bf4f82 and resolve conflicts
Closes #82570
>From 37f5e39e1c54ad1c839d80580b9e5303b6e692d3 Mon Sep 17 00:00:00 2001
From: Wentao Zhang <35722712+whentoj...@users.noreply.github.com>
@@ -8362,9 +8362,20 @@ BoUpSLP::getEntryCost(const TreeEntry *E, ArrayRef VectorizedVals,
unsigned OpIdx = isa(VL0) ? 0 : 1;
TTI::OperandValueInfo Op1Info = getOperandInfo(E->getOperand(0));
TTI::OperandValueInfo Op2Info =
@@ -869,6 +870,18 @@ TargetTransformInfo::getOperandInfo(const Value *V) {
return {OpInfo, OpProps};
}
+InstructionCost TargetTransformInfo::getVecLibCallCost(
+const int OpCode, const TargetLibraryInfo *TLI, VectorType *VecTy,
+TTI::TargetCostKind CostKind) {
+
@@ -869,6 +870,18 @@ TargetTransformInfo::getOperandInfo(const Value *V) {
return {OpInfo, OpProps};
}
+InstructionCost TargetTransformInfo::getVecLibCallCost(
+const int OpCode, const TargetLibraryInfo *TLI, VectorType *VecTy,
+TTI::TargetCostKind CostKind) {
+
paschalis-mpeis wrote:
Addressed reviewers and rebased to parent pr:
- #80423
Github is now rendering **only** the changes of this patch.
https://github.com/llvm/llvm-project/pull/82488
___
llvm-branch-commits mailing list
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/82488
___
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/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/82488
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -8362,9 +8362,20 @@ BoUpSLP::getEntryCost(const TreeEntry *E, ArrayRef VectorizedVals,
unsigned OpIdx = isa(VL0) ? 0 : 1;
TTI::OperandValueInfo Op1Info = getOperandInfo(E->getOperand(0));
TTI::OperandValueInfo Op2Info =
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/82488
___
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/paschalis-mpeis updated
https://github.com/llvm/llvm-project/pull/82488
>From 641aaf7c13d520bef52b092726f8346bfecb1c8d Mon Sep 17 00:00:00 2001
From: Paschalis Mpeis
Date: Wed, 21 Feb 2024 11:53:00 +
Subject: [PATCH 1/3] SLP cannot vectorize frem calls in AArch64.
It
https://github.com/minglotus-6 edited
https://github.com/llvm/llvm-project/pull/81378
___
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/MaskRay closed
https://github.com/llvm/llvm-project/pull/82187
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
MaskRay wrote:
> Thanks for the update, I'm happy with the changes. I would like to see more
> options for position independent code in embedded systems.
>
> The other related embedded position independent option for microcontrollers
> that I'm aware of is `-fropi` and `-frwpi` which is
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) {
config->zInterpose = hasZOption(args, "interpose");
config->zKeepTextSectionPrefix = getZFlag(
args, "keep-text-section-prefix", "nokeep-text-section-prefix", false);
+ config->zLrodataAfterBss =
+
https://github.com/matthias-springer updated
https://github.com/llvm/llvm-project/pull/81756
>From 68cb2590ea6295504b64d065326a606c2892a2a1 Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Wed, 21 Feb 2024 16:48:48 +
Subject: [PATCH] [mlir][Transforms][NFC] Turn block type convertion
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/5] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/82488
___
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/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/2] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/jpienaar approved this pull request.
https://github.com/llvm/llvm-project/pull/82244
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1110,7 +1120,18 @@ void ReplaceOperationRewrite::rollback() {
void ReplaceOperationRewrite::cleanup() { eraseOp(op); }
+void CreateOperationRewrite::rollback() {
+ for (Region : op->getRegions()) {
+while (!region.getBlocks().empty())
+
@@ -372,7 +368,11 @@ class CreateBlockRewrite : public BlockRewrite {
auto = block->getOperations();
while (!blockOps.empty())
blockOps.remove(blockOps.begin());
-eraseBlock(block);
+if (block->getParent()) {
jpienaar wrote:
Nit:
@@ -2549,10 +2572,15 @@ LogicalResult
OperationConverter::legalizeConvertedArgumentTypes(
});
return liveUserIt == val.user_end() ? nullptr : *liveUserIt;
};
- for (auto : rewriterImpl.rewrites)
-if (auto *rewrite = dyn_cast(r.get()))
- if
@@ -299,7 +294,8 @@ class IRRewrite {
ReplaceBlockArg,
MoveOperation,
ModifyOperation,
-ReplaceOperation
jpienaar wrote:
Mmm, come to think of it: would it make sense to have "marker" types here so
that you wouldn't need to change below if
https://github.com/jpienaar approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/81759
___
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/jpienaar edited
https://github.com/llvm/llvm-project/pull/81759
___
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/jpienaar edited
https://github.com/llvm/llvm-project/pull/81756
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1173,29 +936,110 @@ struct ConversionPatternRewriterImpl : public
RewriterBase::Listener {
} // namespace detail
} // namespace mlir
+void IRRewrite::eraseOp(Operation *op) {
+ rewriterImpl.eraseRewriter.eraseOp(op);
+}
+
+void IRRewrite::eraseBlock(Block *block) {
+
https://github.com/jpienaar approved this pull request.
Nice, just small nits. Thanks
https://github.com/llvm/llvm-project/pull/81756
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
@@ -1173,29 +936,110 @@ struct ConversionPatternRewriterImpl : public
RewriterBase::Listener {
} // namespace detail
} // namespace mlir
+void IRRewrite::eraseOp(Operation *op) {
+ rewriterImpl.eraseRewriter.eraseOp(op);
+}
+
+void IRRewrite::eraseBlock(Block *block) {
+
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/82448
___
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/smithp35 approved this pull request.
Forgot to approve
https://github.com/llvm/llvm-project/pull/82187
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://github.com/smithp35 commented:
Thanks for the update, I'm happy with the changes. I would like to see more
options for position independent code in embedded systems.
The other related embedded position independent option for microcontrollers
that I'm aware of is `-fropi` and `-frwpi`
https://github.com/wangpc-pp updated
https://github.com/llvm/llvm-project/pull/80124
>From e3fb1fe7bdd4b7c24f9361c4d14dd1206fc8c067 Mon Sep 17 00:00:00 2001
From: wangpc
Date: Sun, 18 Feb 2024 11:12:16 +0800
Subject: [PATCH 1/2] Move after addIRPasses
Created using spr 1.3.4
---
https://github.com/joker-eph approved this pull request.
https://github.com/llvm/llvm-project/pull/82474
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite {
: OperationRewrite(Kind::ModifyOperation, rewriterImpl, op),
loc(op->getLoc()), attrs(op->getAttrDictionary()),
operands(op->operand_begin(), op->operand_end()),
-
https://github.com/matthias-springer updated
https://github.com/llvm/llvm-project/pull/82474
>From 1795b6dcfdc0b6447c5209000332432de49109cc Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Wed, 21 Feb 2024 09:37:48 +
Subject: [PATCH] [mlir][Transforms] Support rolling back properties
https://github.com/matthias-springer updated
https://github.com/llvm/llvm-project/pull/82474
>From f7a0cc4dd214b9f2b234ea5a61eaecdb19b6b3c4 Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Wed, 21 Feb 2024 09:37:48 +
Subject: [PATCH] [mlir][Transforms] Support rolling back properties
https://github.com/joker-eph approved this pull request.
https://github.com/llvm/llvm-project/pull/82244
___
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/joker-eph edited
https://github.com/llvm/llvm-project/pull/82474
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite {
: OperationRewrite(Kind::ModifyOperation, rewriterImpl, op),
loc(op->getLoc()), attrs(op->getAttrDictionary()),
operands(op->operand_begin(), op->operand_end()),
-
@@ -1016,13 +1035,20 @@ class ModifyOperationRewrite : public OperationRewrite {
op->setOperands(operands);
for (const auto : llvm::enumerate(successors))
op->setSuccessor(it.value(), it.index());
+if (propertiesStorage) {
+ OpaqueProperties
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite {
: OperationRewrite(Kind::ModifyOperation, rewriterImpl, op),
loc(op->getLoc()), attrs(op->getAttrDictionary()),
operands(op->operand_begin(), op->operand_end()),
-
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite {
: OperationRewrite(Kind::ModifyOperation, rewriterImpl, op),
loc(op->getLoc()), attrs(op->getAttrDictionary()),
operands(op->operand_begin(), op->operand_end()),
-
https://github.com/matthias-springer updated
https://github.com/llvm/llvm-project/pull/82474
>From 33f2ae9da319110ca8d2581ec6d66d2db83201cb Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Wed, 21 Feb 2024 08:41:44 +
Subject: [PATCH] [mlir][Transforms] Support rolling back properties
@@ -1002,12 +1002,31 @@ class ModifyOperationRewrite : public OperationRewrite {
: OperationRewrite(Kind::ModifyOperation, rewriterImpl, op),
loc(op->getLoc()), attrs(op->getAttrDictionary()),
operands(op->operand_begin(), op->operand_end()),
-
https://github.com/dtcxzyw edited
https://github.com/llvm/llvm-project/pull/80124
___
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/dtcxzyw requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/80124
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
@@ -451,6 +456,9 @@ void RISCVPassConfig::addIRPasses() {
}
TargetPassConfig::addIRPasses();
+
+ if (getOptLevel() == CodeGenOptLevel::Aggressive && EnableSelectOpt)
dtcxzyw wrote:
> Failed Tests (1):
LLVM :: CodeGen/RISCV/O3-pipeline.ll
Please
llvmbot wrote:
@llvm/pr-subscribers-mlir-core
Author: Matthias Springer (matthias-springer)
Changes
The dialect conversion rolls back in-place op modifications upon failure.
Rolling back modifications of attributes is already supported, but there was no
support for properties until now.
https://github.com/matthias-springer created
https://github.com/llvm/llvm-project/pull/82474
The dialect conversion rolls back in-place op modifications upon failure.
Rolling back modifications of attributes is already supported, but there was no
support for properties until now.
>From
https://github.com/jh7370 approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/82470
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
wangpc-pp wrote:
Gentle ping.
https://github.com/llvm/llvm-project/pull/80124
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
uweigand wrote:
> > Also, as noted in the original PR, the corresponding doc change needs
> > picking too.
>
> I'll add a cherry-pick for the doc PR if and when this PR is approved.
https://github.com/llvm/llvm-project/pull/82470
https://github.com/llvm/llvm-project/pull/82324
llvmbot wrote:
@llvm/pr-subscribers-llvm-binary-utilities
Author: None (llvmbot)
Changes
Backport bf471c915d14035a24ec027fb2bb0373cefdabe1
Requested by: @uweigand
---
Full diff: https://github.com/llvm/llvm-project/pull/82470.diff
1 Files Affected:
- (modified)
llvmbot wrote:
@jh7370 What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/82470
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/82470
Backport bf471c915d14035a24ec027fb2bb0373cefdabe1
Requested by: @uweigand
>From ca0cf5f87c810595ae969670c3209a77adf1099b Mon Sep 17 00:00:00 2001
From: Ulrich Weigand
Date: Fri, 16 Feb 2024 12:11:04 +0100
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/82470
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
63 matches
Mail list logo