llvm-capstone/mlir/include
Cullen Rhodes 38eb55a130
[mlir][llvm] Return failure from type converter for n-D scalable vectors (#65450)
This patch changes vector type conversion to return failure on n-D
scalable vector types instead of asserting.

This is an alternative approach to #65261 that aims to enable lowering
of Vector ops directly to ArmSME intrinsics where possible, and seems
more consistent with other type conversions. It's trivial to hit the
assert at the moment and it could be interpreted as n-D scalable vector
types being a bug, when they're valid types in the Vector dialect.

By returning failure it will generally fail more gracefully,
particularly for release builds or other builds where assertions are
disabled.
2023-09-11 09:31:48 +01:00
..
mlir [mlir][llvm] Return failure from type converter for n-D scalable vectors (#65450) 2023-09-11 09:31:48 +01:00
mlir-c [mlir] Fix duplicate word typos; NFC 2023-09-01 20:53:08 -07:00