Go to file
Craig Topper 0f5063c754 [BuildLibCalls] emitPutChar should infer function attributes for putchar
When InstCombine calls into SimplifyLibCalls and it createa putChar calls, we don't infer the attributes. And since SimplifyLibCalls doesn't use InstCombine's IRBuilder the calls doesn't end up in the worklist on this iteration of InstCombine. So it gets picked up on the next iteration where it causes an IR change. This of course causes InstCombine to run another iteration.

So this patch just gets the attributes right the first time. We already did this for puts and some other libcalls.

Differential Revision: https://reviews.llvm.org/D31094

llvm-svn: 298171
2017-03-17 23:48:02 +00:00
clang [index] For C++ constructors/destructors, add references to the parent type where its name appears in definitions and declarations 2017-03-17 23:41:59 +00:00
clang-tools-extra [Clang-tidy] Fix for misc-noexcept-move-constructor false triggers on defaulted declarations 2017-03-17 16:40:34 +00:00
compiler-rt [asan] Disable globals-gc test with ld.bfd. 2017-03-17 23:40:50 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Implement LWG#2761: 'basic_string should require that charT match traits::char_type'. Tests for string_view, too 2017-03-15 18:41:11 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind DarwinParser: include limits 2017-03-14 15:17:55 +00:00
lld Compute Config member function return values only once. 2017-03-17 23:29:01 +00:00
lldb allow for specification of compiler/lldb executables basename 2017-03-17 21:00:35 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [BuildLibCalls] emitPutChar should infer function attributes for putchar 2017-03-17 23:48:02 +00:00
openmp Create a git ignore file for openmp runtime. 2017-03-11 13:05:08 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScheduleOptimiser] fix typos in top comment [NFC] 2017-03-17 14:52:19 +00:00