I thought we already had a rule subscribing llvm-commits, but I can’t find it?
I created a new here: https://reviews.llvm.org/H615 and it worked immediately with Arc but is actually didn’t originally when uploading a diff on the web interface.
I had to tweak the regex many times to get it to match, it seems like there are whitespace in front of the path when you don’t use arc, I settled with @^\s*/llvm/@ right now.
If you set the repository to LLVM, then Phab will automatically cc llvm-commits. I also thought there was something in Herald about looking at the path. I see Herald adding cfe-commits and lldb-commits to some cross-project reviews, in a quick check.
I DO NOT want llvm-commits cc’d on all Phab reviews. In particular, clang and lldb have their own -commits lists, and possibly others. llvm-commits is already very busy and adding other projects to it will not help reviewers. llvm-commits should be for llvm proper, and other sub-projects that don’t have their own list (e.g., lld).