diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-14 20:08:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-14 20:08:40 +0000 |
| commit | 6293429b516683a9fa54a501a5a0c5b03cc4ef53 (patch) | |
| tree | ccf1c90631fbbf28bf7f3ad690d2a00af015079c /llvm/unittests/Support/MemoryTest.cpp | |
| parent | e9740a469200a74232df1da26d281993daac838d (diff) | |
| download | llvm-6293429b516683a9fa54a501a5a0c5b03cc4ef53.zip llvm-6293429b516683a9fa54a501a5a0c5b03cc4ef53.tar.gz llvm-6293429b516683a9fa54a501a5a0c5b03cc4ef53.tar.bz2 | |
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
