1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[WebAssembly] Fix copypasta.

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

llvm-svn: 252208
This commit is contained in:
Dan Gohman 2015-11-05 20:59:49 +00:00
parent a7fc49a231
commit f3f9acdb90
2 changed files with 3 additions and 3 deletions

View File

@ -52,4 +52,4 @@ def SELECT_I32 : I<(outs I32:$dst), (ins I32:$cond, I32:$lhs, I32:$rhs),
"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">;

View File

@ -85,10 +85,10 @@ def STORE_I64 : I<(outs), (ins I32:$addr, I64:$val),
"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),