diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-09-26 01:09:44 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-09-26 01:09:44 +0000 |
commit | d0bf981296b8d57b95f8d0c9680925612b7373a2 (patch) | |
tree | 49a19b4fdeb0c1cb990b9f65fdb8680004fd255d /llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td | |
parent | 6993ba4d3ec432b661b99111d2bf55da6379e3d5 (diff) | |
download | bcm5719-llvm-d0bf981296b8d57b95f8d0c9680925612b7373a2.tar.gz bcm5719-llvm-d0bf981296b8d57b95f8d0c9680925612b7373a2.zip |
[WebAssembly] Rename several functions and types according to the new spec.
llvm-svn: 248644
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)>; |