[PATCH] D45108: [InstCombine] Get rid of select of bittest (PR36950 / PR17564)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 11:57:39 PDT 2018


lebedev.ri added a comment.

The fact that comments-that-are-marked-as-done are submitted by the diff update, but not the new comments i added, always catches me off guard.



================
Comment at: lib/Transforms/InstCombine/InstCombineSelect.cpp:407
+/// instructions, but we got rid of select.
+/// https://rise4fun.com/Alive/uiH
+static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *IC,
----------------
spatel wrote:
> lebedev.ri wrote:
> > spatel wrote:
> > > IIRC, we don't want Alive links in the LLVM source (but Alive links in commit messages and bug reports are fine) - avoid any potential legal/licensing problems. 
> > First time i'm reading about this, will remove.
> > Source only, it's ok in tests?
> No, we don't want the links in tests either because those are included in the greater body of 'LLVM source'.
> So you should remove the existing link from the test file too. It's fine to paste the Alive proof text if you want though.
>  
> There's no official guideline about this AFAIK, but there probably should be. I'm certain that I also wanted to include an Alive link in some patch long ago and was told not to, but I can't find that thread.
> 
> I'm not an expert, so if you want better answers, it's best to ask on llvm-dev.
... Ok, good to know.


Repository:
  rL LLVM

https://reviews.llvm.org/D45108





More information about the llvm-commits mailing list