[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.
More information about the llvm-commits