This is an archive of the discontinued LLVM Phabricator instance.

[mlir] NFC: Rename LLVMOpLowering::lowering to LLVMOpLowering::typeConverter
ClosedPublic

Authored by ftynse on Feb 17 2020, 5:32 AM.

Details

Summary

The existing name is an artifact dating back to the times when we did not have
a dedicated TypeConverter infrastructure. It is also confusing with with the
name of classes using it.

Diff Detail

Event Timeline

ftynse created this revision.Feb 17 2020, 5:32 AM
herhut accepted this revision.Feb 17 2020, 8:14 AM

Thanks for cleaning this up. lowering was a misleading name and we should stop further spreading!

This revision is now accepted and ready to land.Feb 17 2020, 8:14 AM
rriddle accepted this revision.Feb 17 2020, 9:50 AM

Awesome!

mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
372–373

Can we change this to /// now? Also the comment is a bit out of date.

ftynse updated this revision to Diff 245153.Feb 18 2020, 6:51 AM

Address review.

ftynse closed this revision.Feb 18 2020, 7:01 AM