This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add getI2Type/getI4Type/getI16type to `OpBuilder`
ClosedPublic

Authored by pecopty on Sep 13 2022, 11:10 AM.

Details

Summary

Declaration and implementation of the functions getI2/4/16Type() are added to Builders.h/cpp respectively.

Diff Detail

Event Timeline

pecopty created this revision.Sep 13 2022, 11:10 AM
pecopty requested review of this revision.Sep 13 2022, 11:10 AM
hgreving accepted this revision.Sep 13 2022, 12:56 PM

Ok to me for the convenience method but please get one more opinion

This revision is now accepted and ready to land.Sep 13 2022, 12:56 PM
ftynse accepted this revision.Sep 14 2022, 8:31 AM
frgossen accepted this revision.Sep 14 2022, 8:32 AM
This revision was automatically updated to reflect the committed changes.