HomePhabricator

Use an Identifier instead of an OperationName internally for OpPassManager…

Authored by mehdi_amini on Sep 2 2020, 1:09 PM.

Description

Use an Identifier instead of an OperationName internally for OpPassManager identification (NFC)

This allows to defers the check for traits to the execution instead of forcing it on the pipeline creation.
In particular, this is making our pipeline creation tolerant to dialects not being loaded in the context yet.

Reviewed By: rriddle, GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D86915