about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2018-07-04 02:48:30 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2018-07-21 21:43:37 -0700
commite6fc62a1ef6cfb545d4f33914a4440c6bbcbf9eb (patch)
tree170eec70a297f7237aee84232ab1572f62706113 /src/rustllvm/RustWrapper.cpp
parent874dec25ed4c08d36f17d396b6872ca50313fc8e (diff)
downloadrust-e6fc62a1ef6cfb545d4f33914a4440c6bbcbf9eb.tar.gz
rust-e6fc62a1ef6cfb545d4f33914a4440c6bbcbf9eb.zip
Don't use SIMD in mem::swap for types smaller than the block size
LLVM isn't able to remove the alloca for the unaligned block in the SIMD tail in some cases, so doing this helps SRoA work in cases where it currently doesn't.  Found in the `replace_with` RFC discussion.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions