[all-commits] [llvm/llvm-project] 91effe: [mlir][scf] Add scf-to-cf lowering for `scf.index_...

Jeff Niu via All-commits all-commits at lists.llvm.org
Mon Oct 31 12:01:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91effec852879ed3588fa6b54015ac128642b8fd
      https://github.com/llvm/llvm-project/commit/91effec852879ed3588fa6b54015ac128642b8fd
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
    M mlir/test/Conversion/SCFToControlFlow/convert-to-cfg.mlir

  Log Message:
  -----------
  [mlir][scf] Add scf-to-cf lowering for `scf.index_switch`

This patch adds lowering from `scf.index_switch` to `cf.switch.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D136883




More information about the All-commits mailing list