[llvm-branch-commits] [llvm] llvm-reduce: Fix losing callsite attributes in operand-to-args (PR #133420)

2025-03-28 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/133420 None >From 1e438122b940308407d7b357058dcc7ebbbc5ac9 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Mar 2025 17:54:10 +0700 Subject: [PATCH] llvm-reduce: Fix losing callsite attributes in operand-to

[llvm-branch-commits] [llvm] llvm-reduce: Fix losing callsite attributes in operand-to-args (PR #133420)

2025-03-28 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133420?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] llvm-reduce: Defer a shouldKeep call in operand reduction (PR #133387)

2025-03-28 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133387?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [BOLT] Make DataflowAnalysis::getStateBefore() const (NFC) (PR #133308)

2025-03-28 Thread Kristof Beyls via llvm-branch-commits
https://github.com/kbeyls approved this pull request. https://github.com/llvm/llvm-project/pull/133308 ___ 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] [PowerPC] Support conversion between f16 and f128 (#130158) (PR #133279)

2025-03-28 Thread Lei Huang via llvm-branch-commits
lei137 wrote: I am not able to resolve this conflict here. I don't see this issue in my local branch and it doesn't seem to work if I use the web editor to accept the incoming change and mark it as resolved. https://github.com/llvm/llvm-project/pull/133279

[llvm-branch-commits] [llvm] [BOLT] Make DataflowAnalysis::getStateBefore() const (NFC) (PR #133308)

2025-03-28 Thread Kristof Beyls via llvm-branch-commits
https://github.com/kbeyls edited https://github.com/llvm/llvm-project/pull/133308 ___ 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] [BOLT] Gadget scanner: analyze functions without CFG information (PR #133461)

2025-03-28 Thread Anatoly Trosinenko via llvm-branch-commits
atrosinenko wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133461?utm_source=stack-comment-downstack-mergeability-warni

[llvm-branch-commits] [compiler-rt] [ctxprof][nfc] Move 2 implementation functions up in `CtxInstrProfiling.cpp` (PR #133146)

2025-03-28 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/133146 >From 9065433243519e0d44bca6eee04f4b9cd72d35ca Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 26 Mar 2025 10:10:43 -0700 Subject: [PATCH] [ctxprof][nfc] Move 2 implementation functions up in `CtxInstrP

[llvm-branch-commits] [llvm] [KeyInstr] Merge atoms in DILocation::getMergedLocation (PR #133480)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133480 NFC for builds with LLVM_EXPERIMENTAL_KEY_INSTRUCTIONS=OFF (default). In an ideal world we would be able to track that the merged location is used in multiple source atoms. We can't do this though, so instead we

[llvm-branch-commits] [llvm] [NFC][KeyInstr] Add Atom Group (re)mapping (PR #133479)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133479 Add: mapAtomInstance - map the atom group number to a new group. RemapSourceAtom - apply the mapped atom group number to this instruction. Modify: CloneBasicBlock - Call mapAtomInstance on cloned instruc

[llvm-branch-commits] [llvm] [KeyInstr][SimplifyCFG] Remap atoms when folding br to common succ into pred (PR #133482)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133482 SimplifyCFG folds `b` into `a`. +---+ | v --> a --> b --> c --> d --> | ^ +-+ Remap source atoms in `b` so that the duplic

[llvm-branch-commits] [llvm] [KeyInstr] Inline atom info (PR #133481)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133481 Source atom groups are identified by an atom group number and inlined-at pair, so we simply can copy the atom numbers into the caller when inlining. >From a6f7a923dde98dadbb2735c8ec4cde83d0353d3f Mon Sep 17 00:0

[llvm-branch-commits] [llvm] [KeyInstr][DwarfDebug] Add is_stmt emission support (PR #133495)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133495 Interpret Key Instructions metadata to determine is_stmt placement. The lowest rank (highest precedent) instructions in each {InlinedAt, atomGroup} set are candidates for is_stmt. Only the last instruction in ea

[llvm-branch-commits] [llvm] [KeyInstr][Inline] Don't propagate atoms to inlined nodebug instructions (PR #133485)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133485 None >From 637b5b4ae3c32e436aa4f03b980ba3332ebc3590 Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Mon, 24 Mar 2025 17:23:59 + Subject: [PATCH] [KeyInstr][Inline] Don't propagate atoms to inline

[llvm-branch-commits] [llvm] [KeyInstr] Add Atom Group waterline to LLVMContext (PR #133478)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133478?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr] Merge atoms in DILocation::getMergedLocation (PR #133480)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133480?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] Propagate DebugLocs on phis in BreakCriticalEdges (PR #133492)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133492 None >From 4e4a75dd53932e2ab3a6dcd436d37ffa0c3cfd32 Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Wed, 26 Mar 2025 17:27:27 + Subject: [PATCH] Propagate DebugLocs on phis in BreakCriticalEdges

[llvm-branch-commits] [llvm] [KeyInstr] Remap cloned PHIs in BreakCriticalEdges (PR #133493)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133493 None >From 7926adb4d3bb05f3d033dfb88868aa0d6c9b475a Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Wed, 26 Mar 2025 17:39:08 + Subject: [PATCH] [KeyInstr] Remap cloned PHIs in BreakCriticalEdges

[llvm-branch-commits] [llvm] [KeyInstr] Add MIR parser support (PR #133494)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133494 None >From b49eb510a934913c691d8c05fc9af5918de0e5a8 Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Thu, 27 Mar 2025 15:47:52 + Subject: [PATCH] [KeyInstr] Add MIR parser support --- llvm/lib/C

[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms duping bb with cond br on phi into pred (PR #133488)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133488 See test for details. >From 6488f4bca69bc26d1d58ea36b9dff4532d4858a9 Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Tue, 25 Mar 2025 15:24:05 + Subject: [PATCH] [KeyInstr][JumpThreading] Remap a

[llvm-branch-commits] [llvm] [KeyInstr] Remap cloned PHIs in BreakCriticalEdges (PR #133493)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133493?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][LoopRotate] Remap atoms of duplicated instructions (PR #133490)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133490?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][debugify] Add --debugify-atoms to add key instructions metadata (PR #133483)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133483?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms after threading (PR #133487)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133487?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][LoopUnroll] Remap atoms while unrolling (PR #133489)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/133489 None >From fc36dec27c291179efd660a85bba61cb2192a5b8 Mon Sep 17 00:00:00 2001 From: Orlando Cazalet-Hyams Date: Tue, 25 Mar 2025 16:16:11 + Subject: [PATCH] [KeyInstr][LoopUnroll] Remap atoms while unrolling

[llvm-branch-commits] [llvm] [KeyInstr][LoopUnroll] Remap atoms while unrolling (PR #133489)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133489?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr][LoopUnswitch] Remap cloned instructions' atoms (PR #133491)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133491?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr] Add MIR parser support (PR #133494)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133494?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [KeyInstr] Inline atom info (PR #133481)

2025-03-28 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133481?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] llvm-reduce: Fix losing call metadata in operands-to-args (PR #133422)

2025-03-28 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/133422 >From c16306506b80d9841237117bd8a5c06e806bbdcf Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Mar 2025 18:01:39 +0700 Subject: [PATCH] llvm-reduce: Fix using call metadata in operands-to-args --- .

<    1   2   3