[all-commits] [llvm/llvm-project] d67ab1: [SPIR-V] Move structurizer to ISel prepare (#157886)

Nathan Gauër via All-commits all-commits at lists.llvm.org
Thu Sep 11 06:03:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d67ab11f2edcadd3fe1997eb691821fb7ee8e8c2
      https://github.com/llvm/llvm-project/commit/d67ab11f2edcadd3fe1997eb691821fb7ee8e8c2
  Author: Nathan Gauër <brioche at google.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    A llvm/test/CodeGen/SPIRV/structurizer/switch-fallthrough.ll

  Log Message:
  -----------
  [SPIR-V] Move structurizer to ISel prepare (#157886)

Some passes like LoopSimplify/SimplifyCFF are running between IRPasses
and ISelPrepare. This is an issue because the structurizer generates
OpSelectionMerge/OpLoopMerge instructions at specific places, and those
passes are moving them.
Moving the structurizer later solves this issue.



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