This patch adds lowering from scf.index_switch to `cf.switch.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D136883  
[mlir][scf] Add scf-to-cf lowering for `scf.index_switch` ClosedPublic Authored by Mogball on Oct 27 2022, 1:44 PM. 
Details Summary This patch adds lowering from scf.index_switch to `cf.switch. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Oct 27 2022, 1:46 PM This revision was landed with ongoing or failed builds.Oct 31 2022, 12:01 PM Closed by commit rG91effec85287: [mlir][scf] Add scf-to-cf lowering for `scf.index_switch` (authored by Mogball).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 472089 mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
 mlir/test/Conversion/SCFToControlFlow/convert-to-cfg.mlir
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LLVM?