[PATCH] D47159: [InstCombine] Format String optimizations

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 18:07:03 PDT 2018


xbolva00 added a comment.

Too bad we cannot transform printf(str) to fputs(str, stdout). It would be quite interesting I think. But since we know how stdout is represented under GNU/glibc, we can do it under condition "isLinux && isGNU" ?


https://reviews.llvm.org/D47159





More information about the llvm-commits mailing list