[all-commits] [llvm/llvm-project] 0818c2: [WebAssembly] Simplify a switch-case in CFGStackif...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Thu Sep 5 09:47:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0818c2801ecc5cb07b680bb77e24df90f35c74b9
      https://github.com/llvm/llvm-project/commit/0818c2801ecc5cb07b680bb77e24df90f35c74b9
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td

  Log Message:
  -----------
  [WebAssembly] Simplify a switch-case in CFGStackify (NFC) (#107360)

This merges some `case`s using `[[fallthrough]]`, and make `DELEGATE` as
a separate `case`. (Previously the reason we didn't do that was not to
duplicate the code in `RewriteOperands`. But now that we've extracted it
into a lambda function in #107182 we can do it.



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