This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Normalize usage of intrinsics_gen
ClosedPublic

Authored by stephenneuendorffer on May 4 2020, 8:02 PM.

Details

Summary

Portions of MLIR which depend on LLVMIR generally need to depend on
intrinsics_gen, to ensure that tablegen'd header files from LLVM are built
first. Without this, we get errors, typically about llvm/IR/Attributes.inc
not being found.

Note that previously the Linalg Dialect depended on intrinsics_gen, but it
doesn't need to, since it doesn't use LLVMIR.

Diff Detail

Event Timeline

rriddle accepted this revision.May 4 2020, 8:31 PM
This revision is now accepted and ready to land.May 4 2020, 8:31 PM

Thanks for the quick review, River!

This revision was automatically updated to reflect the committed changes.