[all-commits] [llvm/llvm-project] 666f22: [SPIRV] Support structurizing nested break chains ...

Chris B via All-commits all-commits at lists.llvm.org
Thu Sep 24 10:48:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 666f22b6aa5b449bc5a4f2348f912faa1012909b
      https://github.com/llvm/llvm-project/commit/666f22b6aa5b449bc5a4f2348f912faa1012909b
  Author: Chris B <chris.bieneman at me.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVStructurizer.cpp
    A llvm/test/CodeGen/SPIRV/structurizer/branch-no-switch.ll
    M llvm/test/CodeGen/SPIRV/structurizer/cf.for.short-circuited-cond.ll
    M llvm/test/CodeGen/SPIRV/structurizer/cf.while.short-circuited-cond.ll

  Log Message:
  -----------
  [SPIRV] Support structurizing nested break chains (#222459)

This PR updates the SPIRVStructurizer to handle nested break chains.
This pattern occurs when switch statements are lowered instead as branch
instructions and break statements need to exit out to an outer
containing block.

This is a required change to support #112056.

Assisted-by: GitHub Copilot



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