about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2018-06-26 22:59:10 -0400
committerWesley Wiser <wwiser@gmail.com>2018-06-26 23:04:17 -0400
commit202aea5acd61ec9d264defffca09c1377950274f (patch)
treefe3f13c9dc8147537e22cd28085ce07f299405b1 /src/rustllvm/PassWrapper.cpp
parent0cf0691ea1879a84d09d53a19e0f0b06827cf95a (diff)
downloadrust-202aea5acd61ec9d264defffca09c1377950274f.tar.gz
rust-202aea5acd61ec9d264defffca09c1377950274f.zip
Speed up compilation of large constant arrays
This is a different approach to #51672 as suggested by @oli-obk. Rather
than write each repeated value one-by-one, we write the first one and
then copy its value directly into the remaining memory.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions