[PATCH] D51518: [WebAssembly] Add missing SIMD instruction attributes
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 12 17:44:37 PDT 2018
tlively updated this revision to Diff 165188.
tlively added a comment.
- Remove isAsCheapAsAMove from v128.const
Repository:
rL LLVM
https://reviews.llvm.org/D51518
Files:
lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
Index: lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
===================================================================
--- lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
+++ lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
@@ -19,6 +19,7 @@
def LaneIdx#SIZE : ImmLeaf<i32, "return 0 <= Imm && Imm < "#SIZE#";">;
multiclass ConstVec<ValueType vec_t, dag ops, dag pat, string args> {
+ let isMoveImm = 1, isReMaterializable = 1 in
defm CONST_V128_#vec_t : SIMD_I<(outs V128:$dst), ops, (outs), ops,
[(set V128:$dst, (vec_t pat))],
"v128.const\t$dst, "#args,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51518.165188.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180913/814f0844/attachment.bin>
More information about the llvm-commits
mailing list