[all-commits] [llvm/llvm-project] 4854c3: WebAssembly: Move validation of EH flags to Target...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 1 22:33:25 PDT 2025


  Branch: refs/heads/users/arsenm/webassembly/move-validation-of-eh-flags
  Home:   https://github.com/llvm/llvm-project
  Commit: 4854c33649f7c8a6fad517ad77c355a3f7b7045c
      https://github.com/llvm/llvm-project/commit/4854c33649f7c8a6fad517ad77c355a3f7b7045c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/test/CodeGen/WebAssembly/wasm-exception-model-flag-parse-ir-input.ll
    M clang/test/CodeGenCXX/builtins-eh-wasm.cpp
    M clang/test/CodeGenCXX/wasm-eh.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.mir
    M llvm/test/CodeGen/WebAssembly/exception-legacy.mir
    M llvm/test/CodeGen/WebAssembly/function-info.mir

  Log Message:
  -----------
  WebAssembly: Move validation of EH flags to TargetMachine construct time

This was enforcing some rules about the combinations of flags at a random
point in the IR pass pipeline configuration. This is a module property that
should be handled at TargetMachine construction time at the latest. This required
adding flags to a few mir and clang tests which never got this far to avoid hitting
the errors.

Split out from https://github.com/llvm/llvm-project/pull/146343



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