[all-commits] [llvm/llvm-project] b9c328: [clang][WebAssembly] Support reftypes & varargs in...

Hood Chatham via All-commits all-commits at lists.llvm.org
Thu Aug 7 13:07:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9c328480cc5c9fbc2940ce323a8dcb30a042b58
      https://github.com/llvm/llvm-project/commit/b9c328480cc5c9fbc2940ce323a8dcb30a042b58
  Author: Hood Chatham <roberthoodchatham at gmail.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/SemaWasm.h
    M clang/lib/CodeGen/TargetBuiltins/WebAssembly.cpp
    M clang/lib/Sema/SemaWasm.cpp
    A clang/test/CodeGen/WebAssembly/builtins-test-fp-sig.c
    M clang/test/CodeGen/builtins-wasm.c
    M clang/test/Sema/builtins-wasm.c
    M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
    M llvm/test/CodeGen/WebAssembly/ref-test-func.ll

  Log Message:
  -----------
  [clang][WebAssembly] Support reftypes & varargs in test_function_pointer_signature (#150921)

I fixed support for varargs functions
(previously it didn't crash but the codegen was incorrect).

I added tests for structs and unions which already work. With the
multivalue abi they crash in the backend, so I added a sema check that
rejects structs and unions for that abi.

It will also crash in the backend if passed an int128 or float128 type.



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