Go to file
Sanjoy Das d2db73ba59 [StatepointLowering] Fix bug in allocateStackSlot
allocateStackSlot did not consider the size of the value to be spilled
before deciding to re-use a spill slot.  This was originally okay (since
originally we'd only ever spill pointers), but it became not okay when
we changed our scheme to directly spill vectors of pointers.

While this change fixes the bug pointed out, it has two performance
caveats:

 - It matches spill slot and spillee size exactly, while in theory we
   can spill, e.g., an 8 byte pointer into a 16 byte slot.  This is
   slightly complicated to fix since in the stackmaps section, we report
   the size of the spill slot as the size of the "indirect value"; and
   if they're no longer equivalent, we'll have to keep track of the
   (indirect) value size separately from the stack slot size.

 - It will "spuriously run out" of reusable slots, since we now have an
   second check in the search loop in addition to the availablity
   check (e.g. you had two free scalar slots, and you first ask for a
   vector slot followed by a scalar slot).  I'll fix this in a later
   commit.

llvm-svn: 261336
2016-02-19 17:15:22 +00:00
clang Removed unused local variable 2016-02-19 12:06:23 +00:00
clang-tools-extra Add a new check, cert-flp30-c, that diagnoses loop induction expressions of floating-point type. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variables+as+loop+counters 2016-02-19 14:03:20 +00:00
compiler-rt Change comma to semi-colon, no functionality change. 2016-02-18 22:07:42 +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 Add .gitignore for build directories 2016-02-17 00:27:31 +00:00
libcxx Split locale management out of newlib/xlocale.h. NFCI 2016-02-18 17:40:16 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Add support for merging strings with alignment larger than one char. 2016-02-19 14:17:40 +00:00
lldb Remove XFAIL from test passing on FreeBSD 2016-02-19 16:58:08 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [StatepointLowering] Fix bug in allocateStackSlot 2016-02-19 17:15:22 +00:00
openmp Remove unnecessary semicolons after braces 2016-02-18 19:38:25 +00:00
polly Codegen: Print error in Polly code verification and allow to disable verfication. 2016-02-19 11:07:12 +00:00