[all-commits] [llvm/llvm-project] 2c90eb: [clang][wasm] Replace the target integer add satur...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Sep 20 03:49:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c90eb990af176f2b57baecd2920481243845bb9
      https://github.com/llvm/llvm-project/commit/2c90eb990af176f2b57baecd2920481243845bb9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/wasm_simd128.h
    M clang/test/CodeGen/builtins-wasm.c

  Log Message:
  -----------
  [clang][wasm] Replace the target integer add saturate intrinsics with the equivalent generic `__builtin_elementwise_add_sat` intrinsics (#109269)

Noticed while working on #109160

I've left out the sub_sat intrinsics for now - not sure about the history behind them using Intrinsic::wasm_sub_sat_* instead of Intrinsic::*sub_sat



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list