This is an archive of the discontinued LLVM Phabricator instance.

[PatternMatch] Add a new m_Any that binds a value.
ClosedPublic

Authored by lattner on Nov 15 2021, 8:21 AM.

Details

Summary

This is analogous to what LLVM's PatternMatch.h supports,
but LLVM calls it m_Value for both the binding and
nonbinding versions.

This is an upstream from CIRCT and is used there.

Diff Detail

Event Timeline

lattner created this revision.Nov 15 2021, 8:21 AM
lattner requested review of this revision.Nov 15 2021, 8:21 AM
jpienaar accepted this revision.Nov 15 2021, 8:36 AM
This revision is now accepted and ready to land.Nov 15 2021, 8:36 AM
This revision was automatically updated to reflect the committed changes.

Thank you for the quick review!