Go to file
Alexander Potapenko fa61dddf5d CodeGen: Fix PR40605 by splitting constant struct initializers
When emitting initializers for local structures for code built with
-ftrivial-auto-var-init, replace constant structures with sequences of
stores.

This appears to greatly help removing dead initialization stores to those
locals that are later overwritten by other data.
This also removes a lot of .rodata constants (see PR40605), replacing most
of them with immediate values (for Linux kernel the .rodata size is
reduced by ~1.9%)

llvm-svn: 355181
2019-03-01 09:00:41 +00:00
clang CodeGen: Fix PR40605 by splitting constant struct initializers 2019-03-01 09:00:41 +00:00
clang-tools-extra [clang-tidy] add OverrideMacro to modernize-use-override check 2019-02-28 20:00:48 +00:00
compiler-rt [sanitizers] Explicitly use GetModuleFileNameW with wchar_t 2019-03-01 08:08:11 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
libcxx [libc++] Fix forgotten fclose() in unit test 2019-03-01 01:32:44 +00:00
libcxxabi [libcxxabi][CMake] Drop unused HandleOutOfTreeLLVM include 2019-02-18 20:58:06 +00:00
libunwind [CMake][libunwind] Define add_target_flags which is missing 2019-02-28 21:38:59 +00:00
lld [ELF] Explain some options in ld.lld.1 2019-03-01 04:49:42 +00:00
lldb Update com.apple.diagnosticd.diagnostic entitlement 2019-03-01 03:34:51 +00:00
llgo Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
llvm [AMDGPU] Mark ds instructions as meybeAtomic 2019-03-01 07:59:17 +00:00
openmp [OpenMP][OMPT] Distinguish different barrier kinds 2019-02-28 20:55:39 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [opaque pointer types] Update calls to CreateCall to pass the function 2019-02-08 19:30:46 +00:00
pstl [pstl] Fix missing parallel policy guards 2019-03-01 01:26:35 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.