This is an archive of the discontinued LLVM Phabricator instance.

[mlir] [VectorOps] Expose lowering pass options programmatically
ClosedPublic

Authored by aartbik on Jul 8 2020, 1:11 PM.

Details

Summary

The ConvertVectorToLLVM pass defines options that can be passed
on the command line (currently only reassociation of FP reductions
through -convert-vector-to-llvm='reassociate-fp-reductions). This
CL enables setting these options programmatically (forward looking
to more options than just reassociation, as well as setting the
values from code rather than command line).

Diff Detail

Event Timeline

aartbik created this revision.Jul 8 2020, 1:11 PM
Herald added a project: Restricted Project. · View Herald Transcript
nicolasvasilache accepted this revision.Jul 8 2020, 2:17 PM
This revision is now accepted and ready to land.Jul 8 2020, 2:17 PM
This revision was automatically updated to reflect the committed changes.