[WebAssembly] Update narrowing builtin function operand types
authorThomas Lively <tlively@google.com>
Wed, 5 May 2021 20:04:04 +0000 (13:04 -0700)
committerThomas Lively <tlively@google.com>
Wed, 5 May 2021 20:04:04 +0000 (13:04 -0700)
commit627a52695537dd2bea068630887431febbf06856
tree84dc4947c1bcbe10cd58fb1a156c701e598e080e
parent0e7c2aeaa8c0fe25178f7fc4c61cd92321cdde76
[WebAssembly] Update narrowing builtin function operand types

Make the inputs to all narrowing builtins signed, which is how they are
interpreted by the underlying instructions (only the result changes sign
between instructions).

Differential Revision: https://reviews.llvm.org/D101883
clang/include/clang/Basic/BuiltinsWebAssembly.def
clang/test/CodeGen/builtins-wasm.c