xbolva00 added inline comments.

================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:341
     Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI);
     // TODO: Remove the hack for the binop form when the unary op is optimized
     //       properly with all IR passes.
----------------
simoll wrote:
> xbolva00 wrote:
> > What about this TODO?
> Ok. So this seems to be a hack to update the FSub idiom on the fly.
> How about we get rid of the TODO and the code below in a separate patch?
I agree


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75130



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to