summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/MemoryTest.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-14 20:08:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-14 20:08:40 +0000
commit6293429b516683a9fa54a501a5a0c5b03cc4ef53 (patch)
treeccf1c90631fbbf28bf7f3ad690d2a00af015079c /llvm/unittests/Support/MemoryTest.cpp
parente9740a469200a74232df1da26d281993daac838d (diff)
downloadbcm5719-llvm-6293429b516683a9fa54a501a5a0c5b03cc4ef53.tar.gz
bcm5719-llvm-6293429b516683a9fa54a501a5a0c5b03cc4ef53.zip
X86: Enable SSE memory intrinsics even when stack alignment is less than 16 bytes.
The stack realignment code was fixed to work when there is stack realignment and a dynamic alloca is present so this shouldn't cause correctness issues anymore. Note that this also enables generation of AVX instructions for memset under the assumptions: - Unaligned loads/stores are always fast on CPUs supporting AVX - AVX is not slower than SSE We may need some tweaked heuristics if one of those assumptions turns out not to be true. Effectively reverts r58317. Part of PR2962. llvm-svn: 167967
Diffstat (limited to 'llvm/unittests/Support/MemoryTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud