Go to file
Tim Northover 5c02f9ad28 ARM: override cost function to re-enable ConstantHoisting (& fix it).
At some point, ARM stopped getting any benefit from ConstantHoisting because
the pass called a different variant of getIntImmCost. Reimplementing the
correct variant revealed some problems, however:

  + ConstantHoisting was modifying switch statements. This is simply invalid,
    the cases must remain integer constants no matter the notional cost.
  + ConstantHoisting was mangling alloca instructions in the entry block. These
    should be handled by FrameLowering, so constants actually have a cost of 0.
    Worse, the resulting bitcasts meant they became dynamic allocas.

rdar://25707382

llvm-svn: 266260
2016-04-13 23:08:27 +00:00
clang [modules] Remove CXX_CTOR_INITIALIZERS_OFFSETS table. Instead of storing an ID 2016-04-13 21:57:08 +00:00
clang-tools-extra Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00
compiler-rt [asan] Prefer alloc-dealloc-mismatch to new-delete-type-mismatch. 2016-04-13 21:04:27 +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 [AMDGPU] Implement get_local_size for amdgcn--amdhsa triple 2016-04-07 19:54:19 +00:00
libcxx Qualify calls to addressof to avoid getting ADL. Fixes PR#27254. 2016-04-13 17:02:23 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Fix warning about unused variable. 2016-04-13 19:09:48 +00:00
lldb Match types in for loop to fix signedness comparison warning 2016-04-13 13:32:06 +00:00
llgo benchcomp: Add a mode for analyzing rule execution time in ninja log files. 2016-04-08 22:42:22 +00:00
llvm ARM: override cost function to re-enable ConstantHoisting (& fix it). 2016-04-13 23:08:27 +00:00
openmp Add declarations of OpenMP 4.5 target/offload routines to headers 2016-04-12 20:37:18 +00:00
polly [FIX] Check the invalid context agains the context to rule out SCoPs 2016-04-12 17:54:29 +00:00