This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fully qualify MemoryEffects
ClosedPublic

Authored by zero9178 on Jul 30 2021, 8:28 AM.

Details

Summary

The effect name is used by tablegen when generating the getEffects method of the SideEffectInterfaces. It is currently unqualified even though the class is contained within the mlir namespace, leading to compiler errors when using namespace mlir; isn't used before including the generated cpp file.

This patch fixes that by simply fully qualifying the class name.

Diff Detail

Event Timeline

zero9178 created this revision.Jul 30 2021, 8:28 AM
zero9178 requested review of this revision.Jul 30 2021, 8:28 AM
mehdi_amini accepted this revision.Jul 30 2021, 9:16 AM
This revision is now accepted and ready to land.Jul 30 2021, 9:16 AM
This revision was automatically updated to reflect the committed changes.

nice, thanks!