This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Allow lowering cmpi/cmpf with multidimensional vectors to LLVM
ClosedPublic

Authored by bkramer on Apr 29 2021, 6:54 AM.

Diff Detail

Event Timeline

bkramer created this revision.Apr 29 2021, 6:54 AM
bkramer requested review of this revision.Apr 29 2021, 6:54 AM
mehdi_amini added inline comments.Apr 29 2021, 11:13 AM
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
3081

Would this be in scope for the verifier instead?

ftynse accepted this revision.Apr 30 2021, 1:08 AM
ftynse added inline comments.
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
3071–3093

Nit: could we have a comment that having array as transformed type means we had an nD vector? Or even check that the original type is not an nD vector to be more consistent with the check below.

3081
This revision is now accepted and ready to land.Apr 30 2021, 1:08 AM