[PATCH] D149008: [InstSimplify] Test for D149001

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 22 21:56:23 PDT 2023


junaire added a comment.

This doesn't look right. I don't know how other people do this, but below is my regular workflow:

  # Let's say you have a commit A and you need to split a part of it to B, which is a commit before A
  git reset HEAD^ # This unstaged all your changes to A
  git add -p . # add changes you want to split
  git commit # This is the commit B
  git add -p . # add the rest of your changes
  git commit # This is the commit A
  # Now do git log you can see you have B --> A 
  git reset --hard HEAD^ # jump to commit B because arc only uploads the top one commit
  arc diff # Create revision B, then add a child revision, which is your old revision of your folds
  git reset --hard xxxx # jump back to A, you can use git reflog to find the commit hash
  arc diff --update xxx # update your old revision


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149008/new/

https://reviews.llvm.org/D149008



More information about the llvm-commits mailing list