[PATCH] D51518: [WebAssembly] Add missing SIMD instruction attributes
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 30 15:16:24 PDT 2018
dschuff added inline comments.
================
Comment at: lib/Target/WebAssembly/WebAssemblyInstrSIMD.td:29
multiclass SIMDLoad<ValueType vec_t> {
- let mayLoad = 1 in
+ let mayLoad = 1, isAsCheapAsAMove = 1 in
defm LOAD_#vec_t :
----------------
I don't think loads and stores are really as cheap as a move (I think "move" means the RISC definition of a move, i.e. "not also a load"). Also wasm loads and stores are potentially more expensive than x86 loads and stores anyway if bounds checking is not free.
Repository:
rL LLVM
https://reviews.llvm.org/D51518
More information about the llvm-commits
mailing list