summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-09-09 01:13:36 +0000
committerBob Wilson <bob.wilson@apple.com>2014-09-09 01:13:36 +0000
commitb3482af34184f11df9a7ff9654ce586df2c08677 (patch)
treebf956c3c933b37b3908d6508da35e2bd6b24cc4e /clang/lib/Sema/SemaDecl.cpp
parent4ce63c2a54d5efbc4bc52f97b666eb22e9af763f (diff)
downloadbcm5719-llvm-b3482af34184f11df9a7ff9654ce586df2c08677.tar.gz
bcm5719-llvm-b3482af34184f11df9a7ff9654ce586df2c08677.zip
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! llvm-svn: 217410
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud