diff options
author | Fanchen Kong <fanchen.kong@intel.com> | 2022-09-21 21:05:44 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2022-09-21 21:05:44 -0700 |
commit | 8a2729fea719c7ef1353135a0e9cb5866d5178b7 (patch) | |
tree | 18fa0c05bff46bfa86c3b8c00e662febd6402076 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 6782d71680ea1cbddd7a98f176e2d9b5b78536d8 (diff) | |
download | llvm-8a2729fea719c7ef1353135a0e9cb5866d5178b7.zip llvm-8a2729fea719c7ef1353135a0e9cb5866d5178b7.tar.gz llvm-8a2729fea719c7ef1353135a0e9cb5866d5178b7.tar.bz2 |
[WebAssembly] Improve codegen for loading scalars from memory to v128
Use load32_zero instead of load32_splat to load the low 32 bits from memory to
v128. Test cases are added to cover this change.
Reviewed By: tlively
Differential Revision: https://reviews.llvm.org/D134257
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions