Go to file
Rafael Espindola 4a2ef91143 Move alignTo computation inside the if.
This is an improvement when compiling with llvm. llvm doesn't inline
the call to insert, so the align is always executed and shows up in
the profile.

With gcc the call to insert is inlined and the align computation moved
and done only if needed.

With this patch we explicitly only compute it if it is needed.

In the two tests with debug info, the speedup was

scylla
  master 3.008959365
  patch  2.932080942 1.02621974786x faster

firefox
  master 6.709823604
  patch  6.592387227 1.01781393795x faster

In all others the difference was in the noise.

llvm-svn: 284249
2016-10-14 17:01:39 +00:00
clang Fix for PR30632: Name mangling issue. 2016-10-14 12:43:59 +00:00
clang-tools-extra [clang-move] Don't overuse Replacements::add. 2016-10-14 13:43:49 +00:00
compiler-rt [compiler-rt][XRay] Support tail call sleds 2016-10-13 23:56:54 +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 Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx [libcxx] Improve the gcc workaround for the missing __has_include macro. 2016-10-14 13:56:58 +00:00
libcxxabi Mark test as unsupported without threads 2016-10-14 09:12:53 +00:00
libunwind [libunwind] Add missing <stdint.h> include. NFC. 2016-10-13 14:32:24 +00:00
lld [ELF] - Added support of PT_OPENBSD_RANDOMIZE 2016-10-14 13:02:22 +00:00
lldb [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class 2016-10-14 12:58:02 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Move alignTo computation inside the if. 2016-10-14 17:01:39 +00:00
openmp Code cleanup for the runtime without monitor thread 2016-10-07 18:12:19 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly [ScopInfo/CodeGen] ExitPHI reads are implicit. 2016-10-12 16:31:09 +00:00