[PATCH] D41941: [WebAssembly] Change int_fast16_t to 32-bit

Nicholas Wilson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 02:32:03 PST 2018


ncw created this revision.
ncw added reviewers: sunfish, dschuff.
Herald added subscribers: cfe-commits, aheejin, jgravelle-google, sbc100, jfb.

See: https://bugs.llvm.org/show_bug.cgi?id=35582

Since Wasm has to use 32-to-16 bit instructions to narrow values down, 32-bit should be a tad faster for operations needing 16 or more bits.


Repository:
  rC Clang

https://reviews.llvm.org/D41941

Files:
  lib/Basic/Targets/WebAssembly.h
  test/Preprocessor/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41941.129415.patch
Type: text/x-patch
Size: 9138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180111/866769c3/attachment.bin>


More information about the cfe-commits mailing list