This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

Mogball created this revision.Oct 27 2022, 1:44 PM
Mogball requested review of this revision.Oct 27 2022, 1:44 PM
rriddle accepted this revision.Oct 27 2022, 1:46 PM
rriddle added inline comments.
mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
673

LLVM?

This revision is now accepted and ready to land.Oct 27 2022, 1:46 PM
Mogball updated this revision to Diff 472088.Oct 31 2022, 12:01 PM

review comment

This revision was landed with ongoing or failed builds.Oct 31 2022, 12:01 PM
This revision was automatically updated to reflect the committed changes.