[llvm-dev] Flang landing in the monorepo - with 0-parent commit in lineage(?)

Peter Waller via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 9 07:02:04 PST 2020


On 06/01/2020 14:49, Peter Waller via llvm-dev wrote:
> MLIR was merged with a 0-parent commit. I take it flang should do the same?
>
> The only significant difference between the approaches I'm aware of is
> that if you check out a pre-llvm-merge MLIR commit, all of the checkout
> disappears aside from the MLIR sources.
>
> Since flang was developed separately, this seems reasonable.

Since no-one commented, I figure it's best to follow MLIR's lead for 
consistency. So the history rewriter has been updated to generate a 
0-parent commit and a merge:

https://github.com/flang-compiler/f18/pull/854#issuecomment-572578180

This decision can still be revisited until the merge occurs!



More information about the llvm-dev mailing list