diff options
author | Jing Bao <jing.bao@intel.com> | 2021-12-14 08:42:38 -0800 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2021-12-14 08:42:39 -0800 |
commit | 2a4a229d6dcceecbb8bab094b6880e2445a6e465 (patch) | |
tree | 0a2761cde55e42ad567cf7bd3013417dc290699f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 0b9b1c8c49fd317ce70d028b041572e1f24f5995 (diff) | |
download | llvm-2a4a229d6dcceecbb8bab094b6880e2445a6e465.zip llvm-2a4a229d6dcceecbb8bab094b6880e2445a6e465.tar.gz llvm-2a4a229d6dcceecbb8bab094b6880e2445a6e465.tar.bz2 |
[WebAssembly] Custom optimization for truncate
When possible, optimize TRUNCATE to generate Wasm SIMD narrow
instructions (i16x8.narrow_i32x4_u, i8x16.narrow_i16x8_u), rather than generate
lots of extract_lane and replace_lane.
Closes #50350.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions