diff options
author | Thomas Lively <tlively@google.com> | 2020-07-10 18:27:52 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-07-10 18:27:52 -0700 |
commit | b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7 (patch) | |
tree | b923251122b11e323e981de3ee502bf1e32bbf77 /clang/unittests/AST/SourceLocationTest.cpp | |
parent | 7b67bc16ef1b954eea5f99e478ccd4840ebe7a06 (diff) | |
download | llvm-b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7.zip llvm-b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7.tar.gz llvm-b59c6fcaf3fc8fd4c42daeecf0545e47b37b1aa7.tar.bz2 |
[WebAssembly] Prefer v128.const for constant splats
In BUILD_VECTOR lowering, we used to generally prefer using splats
over v128.const instructions because v128.const has a very large
encoding. However, in d5b7a4e2e8 we switched to preferring consts
because they are expected to be more efficient in engines. This patch
updates the ISel patterns to match this current preference.
Differential Revision: https://reviews.llvm.org/D83581
Diffstat (limited to 'clang/unittests/AST/SourceLocationTest.cpp')
0 files changed, 0 insertions, 0 deletions