[all-commits] [llvm/llvm-project] 4e3a07: [SimplifyCFG] Reuse function comdat for switch loo...

8051Enthusiast via All-commits all-commits at lists.llvm.org
Wed Apr 15 08:53:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e3a074501cae5f132293d56f9987ded94ee72be
      https://github.com/llvm/llvm-project/commit/4e3a074501cae5f132293d56f9987ded94ee72be
  Author: 8051Enthusiast <8051Enthusiast at protonmail.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    A llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-comdat.ll

  Log Message:
  -----------
  [SimplifyCFG] Reuse function comdat for switch lookup table (#190995)

Fixes #190994.

As the switch table is extracted from the function, the table should be
removed when the function is removed, and therefore inherits the comdat
of the function.



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