This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Remove scf.if builder with explicit result types and callbacks
ClosedPublic

Authored by frgossen on Jan 18 2023, 1:53 PM.

Details

Summary

Instead, use the builder and infer the return type based on the inner yield ops.
Also, fix uses that do not create the terminator as required for the callback builders.

Depends On D142049

Diff Detail

Event Timeline

frgossen created this revision.Jan 18 2023, 1:53 PM
Herald added a project: Restricted Project. · View Herald Transcript
frgossen requested review of this revision.Jan 18 2023, 1:53 PM
pifon2a accepted this revision.Jan 20 2023, 7:47 AM
This revision is now accepted and ready to land.Jan 20 2023, 7:47 AM