This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Allow omitting spaces in assemblyFormat with a `` literal.
ClosedPublic

Authored by csigg on Nov 9 2020, 4:06 AM.

Details

Summary

I would like to use this for D90589 to switch std.alloc to assemblyFormat.
Hopefully it will be useful in other places as well.

Diff Detail

Event Timeline

csigg created this revision.Nov 9 2020, 4:06 AM
csigg requested review of this revision.Nov 9 2020, 4:06 AM
rriddle accepted this revision.Nov 10 2020, 11:15 PM
rriddle added inline comments.
mlir/tools/mlir-tblgen/OpFormatGen.cpp
310

Please use proper accessors functions instead of direct access.

This revision is now accepted and ready to land.Nov 10 2020, 11:15 PM
csigg updated this revision to Diff 304407.Nov 10 2020, 11:25 PM

Change to proper accessor.