[llvm-branch-commits] [llvm] f8afba5 - [AA] Add statistics for alias results (NFC)

2020-12-05 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-05T11:09:15+01:00 New Revision: f8afba5f7a25a69c12191d979d78d40fa6e5b684 URL: https://github.com/llvm/llvm-project/commit/f8afba5f7a25a69c12191d979d78d40fa6e5b684 DIFF: https://github.com/llvm/llvm-project/commit/f8afba5f7a25a69c12191d979d78d40fa6e5b684.diff

[llvm-branch-commits] [llvm] 0003600 - [AA] Initialize Depth member

2020-12-05 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-05T11:37:36+01:00 New Revision: 0003600aafd422ffb9dd86383d4828990476d45c URL: https://github.com/llvm/llvm-project/commit/0003600aafd422ffb9dd86383d4828990476d45c DIFF: https://github.com/llvm/llvm-project/commit/0003600aafd422ffb9dd86383d4828990476d45c.diff

[llvm-branch-commits] [llvm] ae5e013 - [BasicAA] Add more tests for non-equal index (NFC)

2020-12-05 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-05T21:22:57+01:00 New Revision: ae5e013f6e3a1391fd44e292857e359b83806c2f URL: https://github.com/llvm/llvm-project/commit/ae5e013f6e3a1391fd44e292857e359b83806c2f DIFF: https://github.com/llvm/llvm-project/commit/ae5e013f6e3a1391fd44e292857e359b83806c2f.diff

[llvm-branch-commits] [llvm] 5e69e2e - [BasicAA] Migrate "same base pointer" logic to decomposed GEPs

2020-12-06 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-06T10:27:35+01:00 New Revision: 5e69e2ebad9db2af44362ebe1755c08af002798f URL: https://github.com/llvm/llvm-project/commit/5e69e2ebad9db2af44362ebe1755c08af002798f DIFF: https://github.com/llvm/llvm-project/commit/5e69e2ebad9db2af44362ebe1755c08af002798f.diff

[llvm-branch-commits] [llvm] 8b1c4e3 - [BasicAA] Handle two unknown sizes for GEPs

2020-12-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-11T18:45:53+01:00 New Revision: 8b1c4e310c2f9686cad925ad81d8e2be10a1ef3c URL: https://github.com/llvm/llvm-project/commit/8b1c4e310c2f9686cad925ad81d8e2be10a1ef3c DIFF: https://github.com/llvm/llvm-project/commit/8b1c4e310c2f9686cad925ad81d8e2be10a1ef3c.diff

[llvm-branch-commits] [llvm] 7ea37d2 - [BasicAA] Add extra check in phi-spec-order.ll (NFC)

2020-12-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-11T21:20:51+01:00 New Revision: 7ea37d2f9449320baf3f3c96f2ea8b2d002a9ceb URL: https://github.com/llvm/llvm-project/commit/7ea37d2f9449320baf3f3c96f2ea8b2d002a9ceb DIFF: https://github.com/llvm/llvm-project/commit/7ea37d2f9449320baf3f3c96f2ea8b2d002a9ceb.diff

[llvm-branch-commits] [clang] 8d4b139 - Revert "Consider reference, pointer, and pointer-to-member TemplateArguments to be different if they have different types."

2020-12-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-12T00:04:10+01:00 New Revision: 8d4b139e9dceb43aa91d0451f5458fd05a9fba33 URL: https://github.com/llvm/llvm-project/commit/8d4b139e9dceb43aa91d0451f5458fd05a9fba33 DIFF: https://github.com/llvm/llvm-project/commit/8d4b139e9dceb43aa91d0451f5458fd05a9fba33.diff

[llvm-branch-commits] [llvm] b0ce2b7 - [BasicAA] Add tests for non-zero var index (NFC)

2020-12-12 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-12T15:00:46+01:00 New Revision: b0ce2b72e8b70a4fb4b6ef385e0989955bd7e01b URL: https://github.com/llvm/llvm-project/commit/b0ce2b72e8b70a4fb4b6ef385e0989955bd7e01b DIFF: https://github.com/llvm/llvm-project/commit/b0ce2b72e8b70a4fb4b6ef385e0989955bd7e01b.diff

[llvm-branch-commits] [llvm] d716eab - [BasicAA] Make non-equal index handling simpler to extend (NFC)

2020-12-12 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-12T15:00:47+01:00 New Revision: d716eab197abec0b9aab4a76cd1a52b248b8c3b1 URL: https://github.com/llvm/llvm-project/commit/d716eab197abec0b9aab4a76cd1a52b248b8c3b1 DIFF: https://github.com/llvm/llvm-project/commit/d716eab197abec0b9aab4a76cd1a52b248b8c3b1.diff

[llvm-branch-commits] [llvm] ff523aa - [CVP] Add additional switch tests (NFC)

2020-12-12 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-12T20:58:00+01:00 New Revision: ff523aa441fe65971a0815cef43ec63eba749947 URL: https://github.com/llvm/llvm-project/commit/ff523aa441fe65971a0815cef43ec63eba749947 DIFF: https://github.com/llvm/llvm-project/commit/ff523aa441fe65971a0815cef43ec63eba749947.diff

[llvm-branch-commits] [llvm] afbb6d9 - [CVP] Simplify and generalize switch handling

2020-12-12 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-12T21:12:27+01:00 New Revision: afbb6d97b501502b89bedc3da2a5d7ec00f56dba URL: https://github.com/llvm/llvm-project/commit/afbb6d97b501502b89bedc3da2a5d7ec00f56dba DIFF: https://github.com/llvm/llvm-project/commit/afbb6d97b501502b89bedc3da2a5d7ec00f56dba.diff

[llvm-branch-commits] [llvm] bb939eb - [BasicAA] Handle known non-zero variable index

2020-12-13 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-13T13:20:05+01:00 New Revision: bb939ebfd7f48a1aa744941d6de86e69d3796b5d URL: https://github.com/llvm/llvm-project/commit/bb939ebfd7f48a1aa744941d6de86e69d3796b5d DIFF: https://github.com/llvm/llvm-project/commit/bb939ebfd7f48a1aa744941d6de86e69d3796b5d.diff

[llvm-branch-commits] [llvm] 22dba70 - [AC] Handle (X+C1)

2020-12-13 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2020-12-13T21:00:32+01:00 New Revision: 22dba707b0fbf778466baef718cc536700b99df3 URL: https://github.com/llvm/llvm-project/commit/22dba707b0fbf778466baef718cc536700b99df3 DIFF: https://github.com/llvm/llvm-project/commit/22dba707b0fbf778466baef718cc536700b99df3.diff

[llvm-branch-commits] [llvm] DAG: Preserve more flags when expanding gep (PR #110815)

2024-10-09 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/110815 ___ 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] Backport "[InstCombine] Drop range attributes in `foldIsPowerOf2` (#111946)" (PR #111984)

2024-10-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/111984 ___ 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: [x86] combineMUL - when looking for a vector multiply by splat constant, ensure we're only accepting ConstantInt splat scalars. (PR #111246)

2024-10-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/111246 ___ 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] DAG: Preserve more flags when expanding gep (PR #110815)

2024-10-02 Thread Nikita Popov via llvm-branch-commits
@@ -4386,34 +4386,59 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) { // it. IdxN = DAG.getSExtOrTrunc(IdxN, dl, N.getValueType()); + SDNodeFlags ScaleFlags; + // The multiplication of an index by the type size does not wrap the + //

[llvm-branch-commits] [llvm] DAG: Preserve more flags when expanding gep (PR #110815)

2024-10-02 Thread Nikita Popov via llvm-branch-commits
@@ -4386,34 +4386,59 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) { // it. IdxN = DAG.getSExtOrTrunc(IdxN, dl, N.getValueType()); + SDNodeFlags ScaleFlags; + // The multiplication of an index by the type size does not wrap the + //

[llvm-branch-commits] [llvm] DAG: Preserve more flags when expanding gep (PR #110815)

2024-10-02 Thread Nikita Popov via llvm-branch-commits
@@ -4386,34 +4386,59 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) { // it. IdxN = DAG.getSExtOrTrunc(IdxN, dl, N.getValueType()); + SDNodeFlags ScaleFlags; + // The multiplication of an index by the type size does not wrap the + //

[llvm-branch-commits] [llvm] release/19.x: [Inliner] Don't propagate access attr to byval params (#112256) (PR #112365)

2024-10-16 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/112365 ___ 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] FastISel: Fix incorrectly using getPointerTy (#110465) (PR #110827)

2024-10-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/110827 ___ 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] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2024-11-05 Thread Nikita Popov via llvm-branch-commits
nikic wrote: I think this change would benefit from an RFC on discourse, for wider visibility. Something that's not super clear to me is how to reconcile the statements about pointer/integer casts and in-memory type punning. I'd expect that ptrtoint returns an i128 value and if you cast back

[llvm-branch-commits] [llvm] release/19.x: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-11-05 Thread Nikita Popov via llvm-branch-commits
@@ -15440,9 +15440,25 @@ bool BoUpSLP::collectValuesToDemote( MaskedValueIsZero(I->getOperand(1), Mask, SimplifyQuery(*DL))); }); }; +auto AbsChecker = [&](unsigned BitWidth, unsigned OrigBitWidth) { + assert(BitWidth <= OrigBitWidth && "Unexp

[llvm-branch-commits] [llvm] release/19.x: [llvm] Fix __builtin_object_size interaction between Negative Offset … (#111827) (PR #114786)

2024-11-12 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Yeah, I don't think we should backport this. A backportable variant of this fix would be to disable the phi handling entirely. https://github.com/llvm/llvm-project/pull/114786 ___ llvm-branch-commits mailing list llvm-branch-commits@list

[llvm-branch-commits] [llvm] release/19.x: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-11-12 Thread Nikita Popov via llvm-branch-commits
nikic wrote: I'd still prefer not to backport this. We're changing many targets to use softPromoteHalfType in LLVM 20 (hopefully all if someone gets around to it...), with the ABI changes that implies. I don't think it makes sense to backport this just for loongarch, and I also don't want to b

[llvm-branch-commits] [llvm] ValueTracking: Allow getUnderlyingObject to look at vectors (PR #114311)

2024-11-01 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. A tentative LGTM. I *think* this particular change is fine, but it's a dangerous area because all of AA basically does not support pointers of vectors at all and treats them as escapes. Wouldn't surprise me if this causes a miscompile. http

[llvm-branch-commits] [llvm] release/19.x: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-11-12 Thread Nikita Popov via llvm-branch-commits
@@ -15440,9 +15440,25 @@ bool BoUpSLP::collectValuesToDemote( MaskedValueIsZero(I->getOperand(1), Mask, SimplifyQuery(*DL))); }); }; +auto AbsChecker = [&](unsigned BitWidth, unsigned OrigBitWidth) { + assert(BitWidth <= OrigBitWidth && "Unexp

[llvm-branch-commits] [llvm] release/19.x: [AA] Take account of C++23's stricter rules for forward declarations (NFC) (#109416) (PR #109476)

2024-09-21 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/109476 ___ 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] [Inliner][Backport] Fix bug where attributes are propagated incorrectly (#109347) (PR #109502)

2024-09-21 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/109502 ___ 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: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-09-24 Thread Nikita Popov via llvm-branch-commits
nikic wrote: fp16 support is generally quite broken outside of a few targets -- from a Rust perspective, we'd prefer full support in LLVM 20 rather than backporting things piecemeal to LLVM 19. Especially if it's going to change the ABI, which I think means we'd need LLVM-patch-version-specifi

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-18 Thread Nikita Popov via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [llvm] release/19.x: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-09-18 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Do I understand correctly that a side effect of this change is to change the half float ABI on loongarch from passing via FP regs to passing via GPR regs? https://github.com/llvm/llvm-project/pull/109093 ___ llvm-branch-commits mailing li

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop noundef attributes in `foldCttzCtlz` (#116718) (PR #116865)

2024-11-25 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/116865 ___ 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: [LICM] allow MemoryAccess creation failure (#116813) (PR #117082)

2024-11-21 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/117082 ___ 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: [LICM] allow MemoryAccess creation failure (#116813) (PR #117082)

2024-11-21 Thread Nikita Popov via llvm-branch-commits
@@ -192,6 +192,12 @@ class MemorySSAUpdater { const BasicBlock *BB, MemorySSA::InsertionPlace Point); + MemoryAccess *createMemoryAccessInBB2(Instruction *I, +

[llvm-branch-commits] [clang] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-11-18 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > @tru should this have been merged? Do I need to do something to facilitate? > Sorry for not following up earlier I have been sick recently. Thanks. Backport PRs need to be part of the release milestone, otherwise they're likely to get forgotten about :) I added it just now. htt

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Handle constant GEP expr in `SimplifyDemandedUseBits` (#116794) (PR #116814)

2024-11-19 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/116814 ___ 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: [InstCombine] Drop noundef attributes in `foldCttzCtlz` (#116718) (PR #116865)

2024-11-20 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/116865 ___ 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] [Linker] Remove a use of StructType::setBody. NFC. (PR #116653)

2024-11-18 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/116653 ___ 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: [llvm] Fix __builtin_object_size interaction between Negative Offset … (#111827) (PR #114786)

2024-11-15 Thread Nikita Popov via llvm-branch-commits
nikic wrote: It would be good if @serge-sans-paille can review this backport, as it's substantially different from the patch on main, and he's the most familiar with this code. The other PR linked above is, as I understand it, not a replacement for this one -- it makes additional fixes in the

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop nsw in negation of select (PR #116097)

2024-11-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/116097 ___ 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] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-11-18 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/111314 ___ 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] [compiler-rt] release/19.x: [compiler-rt] Remove SHA2 interceptions for NetBSD/Free… (PR #111725)

2024-11-18 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/111725 ___ 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: [SCEV] Fix sext handling for `getConstantMultiple` (#117093) (PR #117136)

2024-11-21 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/117136 ___ 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: [LICM] allow MemoryAccess creation failure (#116813) (PR #117082)

2024-11-21 Thread Nikita Popov via llvm-branch-commits
@@ -190,7 +190,8 @@ class MemorySSAUpdater { /// inaccessible and it *must* have removeMemoryAccess called on it. MemoryAccess *createMemoryAccessInBB(Instruction *I, MemoryAccess *Definition, const BasicBlock *BB, -

[llvm-branch-commits] [llvm] release/19.x: Bail out jump threading on indirect branches only (#117778) (PR #117869)

2024-11-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/117869 ___ 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: [SCEV] Do not allow refinement in the rewriting of BEValue (#117152) (PR #118216)

2024-12-02 Thread Nikita Popov via llvm-branch-commits
nikic wrote: As this is for a fuzzer-generated test case (https://github.com/llvm/llvm-project/issues/117133#issuecomment-2509952839), it's not a regression (the issue exists since at least LLVM 13) and the fix is non-trivial, I'm inclined to not backport. https://github.com/llvm/llvm-project

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop nsw in negation of select (PR #116097)

2024-11-14 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/116097 ___ 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: [InstCombine] Drop nsw in negation of select (PR #116097)

2024-11-14 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic commented: The cherry-picks here fail to preserve authorship information. https://github.com/llvm/llvm-project/pull/116097 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[llvm-branch-commits] [llvm] release/19.x: backport PR115901 (PR #116104)

2024-11-14 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/116104 ___ 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: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-11-26 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/113146 ___ 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] Accept `cl`-style output arguments (`/Fo`, `-Fo`) for `--fmodule-output` (PR #121046)

2025-01-03 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Why is this submitted against the release/19.x branch? Is this a backport? If so, please indicate which commit it backports. https://github.com/llvm/llvm-project/pull/121046 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.l

[llvm-branch-commits] [compiler-rt] [compiler-rt] Convert Maintainers.txt into Maintainers.md (PR #119169)

2024-12-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/119169 ___ 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] [InstCombine][asan] Don't speculate loads before `select ptr` (PR #100773)

2024-12-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/100773 ___ 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] [polly] [NFC][Load] Make `ScanFrom` required parameters (PR #100789)

2024-12-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/100789 ___ 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] [NFC][Load] Find better place for `mustSuppressSpeculation` (PR #100794)

2024-12-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/100794 ___ 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] [compiler-rt] release/19.x: [lsan] Fix free(NULL) interception during initialization (PR #121100)

2024-12-27 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/121100 ___ 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] release/20.x: [ELF] Refine isExported/isPreemptible condition (PR #125334)

2025-02-03 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Reverted in https://github.com/llvm/llvm-project/commit/b84f7d17f84030092880857544e13d26a2507c62, as this has been failing all pre-merge tests for the last two or three days already. https://github.com/llvm/llvm-project/pull/125334 ___

[llvm-branch-commits] [llvm] [AVR] Backport #118015 and #121498 (PR #125081)

2025-01-31 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > > because the changes to shouldForceRelocation are ABI-breaking. > > Huh, interesting - out of curiosity, why do they break the ABI if those jumps > are local to functions? Ah sorry, I meant that they break the ABI of libLLVM.so by adding an additional parameter to an exported

[llvm-branch-commits] [llvm] [AVR] Backport #118015 and #121498 (PR #125081)

2025-01-30 Thread Nikita Popov via llvm-branch-commits
nikic wrote: It's not possible to backport this in this form, because the changes to shouldForceRelocation are ABI-breaking. > so that the fixes can be pulled to rustc. The LLVM 20 upgrade in Rust is already in progress, so this is not necessary. https://github.com/llvm/llvm-project/pull/1250

[llvm-branch-commits] [llvm] release/20.x: [llvm] Add CMake flag to compile out the telemetry framework (#124850) (PR #125555)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
nikic wrote: @JDevlieghere See https://github.com/llvm/llvm-project/issues/125554#issuecomment-2636081942 for how to add a comment. You have to run it in the place where you did the original cherry-pick and pass both commits at once. https://github.com/llvm/llvm-project/pull/12 __

[llvm-branch-commits] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/125837 Backport a few fixes for flang/MLIR library dependencies related to MLIR_LINK_MLIR_DYLIB changes. >From 86f0bbcd6ed9d20c7d40a5033b2862bf1497d617 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 4 Feb 2025

[llvm-branch-commits] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/125837 ___ 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] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125837 ___ 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] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

2025-02-04 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > Reason for using operand bundle -- The original discussion for this change is > captured here: https://reviews.llvm.org/D105909 - My takeaway from the > discussion is that the type id metadata was dropped by optimizations leading > to not so clean implementation using metadata.

[llvm-branch-commits] [llvm] release/20.x: [X86] Do not combine LRINT and TRUNC (#125848) (PR #125995)

2025-02-06 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/125995 ___ 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/20.x: [benchmark] Get number of CPUs with sysconf() on Linux (#125603) (PR #125669)

2025-02-08 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Duplicate of https://github.com/llvm/llvm-project/pull/125624. https://github.com/llvm/llvm-project/pull/125669 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br

[llvm-branch-commits] [llvm] release/20.x: [benchmark] Get number of CPUs with sysconf() on Linux (#125603) (PR #125669)

2025-02-08 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/125669 ___ 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] release/20.x: [mlir][cmake] Fix build race condition in Pass Manager tests (PR #125834)

2025-02-08 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125834 ___ 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/20.x: [InstSimplify] Add additional checks when substituting pointers (#125385) (PR #125398)

2025-02-10 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/125398 ___ 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][cmake] Fix build race condition in Pass Manager tests (PR #125834)

2025-02-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/125834 ___ 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/20.x: [InstCombine] Check nowrap flags when folding comparison of GEPs with the same base pointer (#121892) (PR #125858)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/125858 ___ 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/20.x: [TableGen] Don't use inline storage for ReferenceLocs (NFC) (#125231) (PR #125287)

2025-02-07 Thread Nikita Popov via llvm-branch-commits
nikic wrote: ping @arsenm https://github.com/llvm/llvm-project/pull/125287 ___ 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] release/20.x: [mlir][CMake] Fix dependency on MLIRTestDialect in Transforms tests (#125894) (PR #126211)

2025-02-07 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126211 ___ 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/20.x: [InstCombine] Fix FMF propagation in `foldSelectWithFCmpToFabs` (#121580) (PR #125338)

2025-02-06 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/125338 ___ 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][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
nikic wrote: Sorry, I didn't see this. I just submitted https://github.com/llvm/llvm-project/pull/125837 for the issues I ran into. https://github.com/llvm/llvm-project/pull/125834 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.or

[llvm-branch-commits] [llvm] release/20.x: [InstCombine] Check nowrap flags when folding comparison of GEPs with the same base pointer (#121892) (PR #125858)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/125858 Backport of 9725595f3acc0c1aaa354e15ac4ee2b1f8ff4cc9. >From cc618a314c9432636446c6629e08a2293a9cf24c Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sat, 1 Feb 2025 20:41:15 +0800 Subject: [PATCH] [InstCombine

[llvm-branch-commits] [llvm] release/20.x: [InstCombine] Check nowrap flags when folding comparison of GEPs with the same base pointer (#121892) (PR #125858)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125858 ___ 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/20.x: [llvm-objcopy][ReleaseNotes] Fix prints wrong path when dump-section output path doesn't exist #125345 (PR #126607)

2025-02-10 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/126607 ___ 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/20.x: [LV] Forget LCSSA phi with new pred before other SCEV invalidation. (#119897) (PR #126542)

2025-02-10 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/126542 ___ 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] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/125837 >From 88f8956711f7c8d306d08fff8603d6b99e8302c1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 4 Feb 2025 16:37:21 +0100 Subject: [PATCH 1/3] [mlir] Fix MLIRTestDialect dependency in MLIRTestIR This is a t

[llvm-branch-commits] [mlir] 88f8956 - [mlir] Fix MLIRTestDialect dependency in MLIRTestIR

2025-02-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2025-02-11T14:59:41+01:00 New Revision: 88f8956711f7c8d306d08fff8603d6b99e8302c1 URL: https://github.com/llvm/llvm-project/commit/88f8956711f7c8d306d08fff8603d6b99e8302c1 DIFF: https://github.com/llvm/llvm-project/commit/88f8956711f7c8d306d08fff8603d6b99e8302c1.diff

[llvm-branch-commits] [flang] dfa60a7 - [flang] Move FIRSupport dependency to correct place (#125697)

2025-02-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2025-02-11T14:59:41+01:00 New Revision: dfa60a77e0bae875ea30340067bebea1c70b9d3d URL: https://github.com/llvm/llvm-project/commit/dfa60a77e0bae875ea30340067bebea1c70b9d3d DIFF: https://github.com/llvm/llvm-project/commit/dfa60a77e0bae875ea30340067bebea1c70b9d3d.diff

[llvm-branch-commits] [flang] 4c4ed5e - [flang][cmake] Fix bcc dependencies (#125822)

2025-02-11 Thread Nikita Popov via llvm-branch-commits
Author: Nikita Popov Date: 2025-02-11T14:59:41+01:00 New Revision: 4c4ed5e2f5357d724e4c26d21ee3e840210b917f URL: https://github.com/llvm/llvm-project/commit/4c4ed5e2f5357d724e4c26d21ee3e840210b917f DIFF: https://github.com/llvm/llvm-project/commit/4c4ed5e2f5357d724e4c26d21ee3e840210b917f.diff

[llvm-branch-commits] [clang] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

2025-02-02 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic requested changes to this pull request. Missing LangRef specification. More generally, a lot of context seems to be missing here. I see you link two RFCs from 2021, neither of which appear to have received a response, and neither of which actually describe the proposed

[llvm-branch-commits] [clang] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

2025-02-02 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/87573 ___ 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] release/20.x: [ELF] Refine isExported/isPreemptible condition (PR #125334)

2025-02-03 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic requested changes to this pull request. I believe this commit introduced BOLT test failures. https://github.com/llvm/llvm-project/pull/125334 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists

[llvm-branch-commits] [llvm] release/20.x: [CodeGenPrepare] Replace deleted ext instr with the promoted value. (#71058) (PR #125040)

2025-01-30 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/125040 ___ 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/20.x: [TableGen] Don't use inline storage for ReferenceLocs (NFC) (#125231) (PR #125287)

2025-01-31 Thread Nikita Popov via llvm-branch-commits
nikic wrote: This backport is to fix TableGen OOM seen on i686-mingw. https://github.com/llvm/llvm-project/pull/125287 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c

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

2024-12-16 Thread Nikita Popov via llvm-branch-commits
nikic wrote: @dschuff For backport PRs, please rebase instead of merge. They do not use squash merge. https://github.com/llvm/llvm-project/pull/119723 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[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] [Vectorizer] fix GEPs incorrectly marked as "inbounds" (PR #120730)

2024-12-20 Thread Nikita Popov via llvm-branch-commits
@@ -1986,10 +1986,12 @@ void VPReverseVectorPointerRecipe::execute(VPTransformState &State) { // LastLane = 1 - RunTimeVF Value *LastLane = Builder.CreateSub(ConstantInt::get(IndexTy, 1), RunTimeVF); Value *Ptr = State.get(getOperand(0), VPLane(0)); - Value *ResultPtr =

[llvm-branch-commits] [clang] [llvm] [IR] Add FPOperation intrinsic property (PR #122313)

2025-01-09 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic commented: At least based on your description, I don't think this intrinsic property should be implemented using an attribute. https://github.com/llvm/llvm-project/pull/122313 ___ llvm-branch-commits mailing list llvm-branch-c

[llvm-branch-commits] [llvm] [VPlan] Compute cost for binary op VPInstruction with underlying values. (PR #127101)

2025-02-14 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/127101 ___ 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/20.x: [VPlan] Compute cost for binary op VPInstruction with underlying values. (PR #127101)

2025-02-14 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/127101 ___ 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] [AVR] Backport #118015 and #121498 (PR #125081)

2025-02-09 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > Ah, that tracks! Is there a timeline for getting rustc to LLVM 20? We've decided to wait for beta branch before merging the LLVM 20 upgrade, so the target is Feb 14. > Not sure what's the next step (can't merge it myself here :-P) - cc @nikic? As the LLVM 20 release cycle has s

[llvm-branch-commits] [llvm] release/20.x: [llvm][Support] Enable dl_iterate_phdr support on OpenBSD and DragonFly (#125186) (PR #125210)

2025-02-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/125210 ___ 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/20.x: [PowerPC] Use getSignedTargetConstant in SelectOptimalAddrMode. (#127305) (PR #127350)

2025-02-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/127350 ___ 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/20.x: [InstCombine] Check nowrap flags when folding comparison of GEPs with the same base pointer (#121892) (PR #125858)

2025-02-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/125858 >From 95354f3ea45a831783b86d8459e90ce8f69216f5 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sat, 1 Feb 2025 20:41:15 +0800 Subject: [PATCH] [InstCombine] Check nowrap flags when folding comparison of GEPs w

[llvm-branch-commits] [llvm] release/20.x: [ValueTracking] Skip incoming values that are the same as the phi in `isGuaranteedNotToBeUndefOrPoison` (#130111) (PR #130474)

2025-03-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/130474 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

<    1   2   3   4   5   6   >