diff --git a/lib/Target/WebAssembly/WebAssemblyInstrFloat.td b/lib/Target/WebAssembly/WebAssemblyInstrFloat.td index 7f342c353e1..02de1bd450d 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrFloat.td +++ b/lib/Target/WebAssembly/WebAssemblyInstrFloat.td @@ -60,6 +60,6 @@ def : Pat<(setge f64:$lhs, f64:$rhs), (GE_F64 f64:$lhs, f64:$rhs)>; */ def SELECT_F32 : I<(outs F32:$dst), (ins I32:$cond, F32:$lhs, F32:$rhs), - [(set F32:$dst, (select I32:$cond, F32:$lhs, F32:$rhs))]>; + [(set F32:$dst, (select I32:$cond, F32:$lhs, F32:$rhs))]>; def SELECT_F64 : I<(outs F64:$dst), (ins I32:$cond, F64:$lhs, F64:$rhs), - [(set F64:$dst, (select I32:$cond, F64:$lhs, F64:$rhs))]>; + [(set F64:$dst, (select I32:$cond, F64:$lhs, F64:$rhs))]>; diff --git a/lib/Target/WebAssembly/WebAssemblyInstrInteger.td b/lib/Target/WebAssembly/WebAssemblyInstrInteger.td index ad036017e81..6b9d504c2c0 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrInteger.td +++ b/lib/Target/WebAssembly/WebAssemblyInstrInteger.td @@ -48,6 +48,6 @@ def : Pat<(cttz_zero_undef I32:$src), (CTZ_I32 I32:$src)>; def : Pat<(cttz_zero_undef I64:$src), (CTZ_I64 I64:$src)>; def SELECT_I32 : I<(outs I32:$dst), (ins I32:$cond, I32:$lhs, I32:$rhs), - [(set I32:$dst, (select I32:$cond, I32:$lhs, I32:$rhs))]>; + [(set I32:$dst, (select I32:$cond, I32:$lhs, I32:$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))]>; + [(set I64:$dst, (select I32:$cond, I64:$lhs, I64:$rhs))]>;