[PATCH] D47059: [InstCombine] Calloc-ed strings optimizations

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 06:26:34 PDT 2018


bkramer added a comment.

This looks overly specific. Can you teach GetStringLength about this instead? All of the transformations should already work if GetStringLength returns a length of zero.


Repository:
  rL LLVM

https://reviews.llvm.org/D47059





More information about the llvm-commits mailing list