[llvm] r252208 - [WebAssembly] Fix copypasta.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 12:59:50 PST 2015


Author: djg
Date: Thu Nov  5 14:59:49 2015
New Revision: 252208

URL: http://llvm.org/viewvc/llvm-project?rev=252208&view=rev
Log:
[WebAssembly] Fix copypasta.

Noticed by dschff in http://reviews.llvm.org/rL252203

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td?rev=252208&r1=252207&r2=252208&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td Thu Nov  5 14:59:49 2015
@@ -52,4 +52,4 @@ def SELECT_I32 : I<(outs I32:$dst), (ins
                    "i32.select $dst, $cond, $lhs, $rhs">;
 def SELECT_I64 : I<(outs I64:$dst), (ins I32:$cond, I64:$lhs, I64:$rhs),
                    [(set I64:$dst, (select I32:$cond, I64:$lhs, I64:$rhs))],
-                   "i32.select $dst, $cond, $lhs, $rhs">;
+                   "i64.select $dst, $cond, $lhs, $rhs">;

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td?rev=252208&r1=252207&r2=252208&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td Thu Nov  5 14:59:49 2015
@@ -85,10 +85,10 @@ def STORE_I64  : I<(outs), (ins I32:$add
                    "i64.store $addr, $val">;
 def STORE_F32  : I<(outs), (ins I32:$addr, F32:$val),
                    [(store f32:$val, I32:$addr)],
-                   "i64.store $addr, $val">;
+                   "f32.store $addr, $val">;
 def STORE_F64  : I<(outs), (ins I32:$addr, F64:$val),
                    [(store f64:$val, I32:$addr)],
-                   "i64.store $addr, $val">;
+                   "f64.store $addr, $val">;
 
 // Truncating store.
 def STORE8_I32  : I<(outs), (ins I32:$addr, I32:$val),




More information about the llvm-commits mailing list