[PATCH] D31094: [BuildLibCalls] emitPutChar should infer its function attributes

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 12:18:48 PDT 2017


efriedma added a comment.

You could use a debug counter to limit instcombine to one pass over the function; see http://llvm.org/docs/ProgrammersManual.html#adding-debug-counters-to-aid-in-debugging-your-code .  Probably worth doing if you're planning to write more similar fixes.


Repository:
  rL LLVM

https://reviews.llvm.org/D31094





More information about the llvm-commits mailing list