This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Update narrowing builtin function operand types
ClosedPublic

Authored by tlively on May 4 2021, 9:09 PM.

Details

Summary

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).

Diff Detail

Event Timeline

tlively created this revision.May 4 2021, 9:09 PM
tlively requested review of this revision.May 4 2021, 9:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2021, 9:09 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
tlively updated this revision to Diff 342946.May 4 2021, 9:57 PM
  • Remove (incorrect) const pointer changes. Will fix them and put them in a separate revision.
tlively retitled this revision from [WebAssembly] Update SIMD builtin function operand types to [WebAssembly] Update narrowing builtin function operand types.May 4 2021, 9:59 PM
tlively edited the summary of this revision. (Show Details)
aheejin accepted this revision.May 5 2021, 1:21 AM
This revision is now accepted and ready to land.May 5 2021, 1:21 AM