[llvm] [docs][GitHub] Document alternative approach to stacked PRs (PR #132424)

Andrzej Warzyński via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 13:30:55 PDT 2025


================
@@ -29,8 +29,23 @@ intended to be able to support "stacked" pull-request. Do not create any branche
 llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
 aren't associated with a pull-request **will be deleted**.
 
+Stacked Pull Requests
+=====================
+
+GitHub does not natively support stacked pull requests. There are two common
+alternatives:
+
+  * Add a note in your PR summary indicating that your patch is part of a
+    series or depends on another PR (e.g., “Depends on #123456”). It also helps
+    to highlight which commits belong to other PRs, so reviewers can focus only
----------------
banach-space wrote:

I haven't noticed anyone using SPR or Graphite in MLIR. Most people just include multiple commits (myself included). In fact, it's this PR specifically that prompted me to write this section:
* https://github.com/llvm/llvm-project/pull/104499

So yes, this is quite common actually. At least from my experience.

https://github.com/llvm/llvm-project/pull/132424


More information about the llvm-commits mailing list