freebsd-dev/contrib/llvm
Dimitry Andric e42bbd58d9 Pull in r217410 from upstream llvm trunk (by Bob Wilson):
Set trunc store action to Expand for all X86 targets.

  When compiling without SSE2, isTruncStoreLegal(F64, F32) would return
  Legal, whereas with SSE2 it would return Expand. And since the Target
  doesn't seem to actually handle a truncstore for double -> float, it
  would just output a store of a full double in the space for a float
  hence overwriting other bits on the stack.

  Patch by Luqman Aden!

This should fix clang -O0 on i386 assigning garbage to floats, in
certain scenarios.

PR:		187437
Submitted by:	cebd@gmail.com
Obtained from:	http://llvm.org/viewvc/llvm-project?rev=217410&view=rev
MFC after:	3 days
2014-09-14 18:50:38 +00:00
..
include Backport r197824, r213427 and r213960 from LLVM trunk: 2014-08-18 18:05:55 +00:00
lib Pull in r217410 from upstream llvm trunk (by Bob Wilson): 2014-09-14 18:50:38 +00:00
patches Add clang patch corresponding to r271432 2014-09-11 18:20:49 +00:00
tools Merge upstream Clang rev 205331 debuginfo crash fix: 2014-09-11 18:19:08 +00:00
utils/TableGen Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00
LICENSE.TXT Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00