diff options
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td index 16a21082bd3..073b261ef09 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td @@ -42,7 +42,7 @@ defm CTZ : UnaryInt<cttz>; defm POPCNT : UnaryInt<ctpop>; // Expand the "don't care" operations to supported operations. -def : Pat<(ctlz_zero_undef Int32:$src), (CLZ_I32 Int32:$src)>; -def : Pat<(ctlz_zero_undef Int64:$src), (CLZ_I64 Int64:$src)>; -def : Pat<(cttz_zero_undef Int32:$src), (CTZ_I32 Int32:$src)>; -def : Pat<(cttz_zero_undef Int64:$src), (CTZ_I64 Int64:$src)>; +def : Pat<(ctlz_zero_undef I32:$src), (CLZ_I32 I32:$src)>; +def : Pat<(ctlz_zero_undef I64:$src), (CLZ_I64 I64:$src)>; +def : Pat<(cttz_zero_undef I32:$src), (CTZ_I32 I32:$src)>; +def : Pat<(cttz_zero_undef I64:$src), (CTZ_I64 I64:$src)>; |