My LLVM Commit Workflow

January 6, 2022

This is my workflow for commiting a patch from phabricator to LLVM git repo.

I started following this religously after I accidently sent 14 commited to LLVM monorepo which were supposed to go as 1 commit The horror and then proceeded to cry all night.

arc patch D<patch-number> # Pull patch
git pull --rebase https://github.com/llvm/llvm-project.git main
git show # Ensure the patch looks correct.
ninja check-mlir # Run tests
git push https://github.com/llvm/llvm-project.git HEAD:main
My LLVM Commit Workflow - January 6, 2022 - Kunwar Shaanjeet Singh Groverk