This is an archive of the discontinued LLVM Phabricator instance.

[mlir][RFC][AVX512] Start a primitive AVX512 dialect
AbandonedPublic

Authored by nicolasvasilache on Mar 9 2020, 2:05 PM.

Details

Reviewers
None
Summary

The Vector Dialect document discusses the vector abstractions that MLIR supports and the various tradeoffs involved.

One of the layer that is missing in OSS atm is the Hardware Vector Ops (HWV) level.

This revision AVX512-specific dialect for the specific purpose of implementing portions of XNNPack in MLIR and benchmarking them.

I am proposing to add a new Dialect/Targets/AVX512 Dialect that would directly target AVX512-specific intrinsics.

Atm, we rely too much on LLVM’s peephole optimizer to do a good job from small insertelement/extractelement/shufflevector. In the future, when possible, generic abstractions such as VP intrinsics should be preferred.

The revision will allow trading off HW-specific vs generic abstractions in MLIR.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2020, 2:05 PM

Fix copyright.

nicolasvasilache abandoned this revision.Mar 9 2020, 2:15 PM