llvm-project/mlir/test/Target/SPIRV
Chengji Yao e5a4cf6743 [mlir] Fix printer when it is a DenseElementsAttr of i1
A large DenseElementsAttr of i1could trigger a bug in printer/parser roundtrip.

Ex. A DenseElementsAttr of i1 with 200 elements will print as Hex format of length 400 before the fix. However, when parsing the printed text, an error will be triggered. After fix, the printed length will be 50.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D122925
2022-05-05 16:56:43 -07:00
..
arithmetic-ops.mlir
array.mlir
atomic-ops.mlir
barrier-ops.mlir
bit-ops.mlir
cast-ops.mlir
composite-op.mlir
constant.mlir [mlir] Fix printer when it is a DenseElementsAttr of i1 2022-05-05 16:56:43 -07:00
cooperative-matrix-ops.mlir
debug.mlir
decorations.mlir
entry-point.mlir
execution-mode.mlir
function-call.mlir
global-variable.mlir
glsl-ops.mlir
group-ops.mlir
image-ops.mlir
image.mlir
logical-ops.mlir
loop.mlir
matrix.mlir
memory-ops.mlir
module.mlir
non-uniform-ops.mlir
ocl-ops.mlir
phi.mlir
sampled-image.mlir
selection.mlir
spec-constant.mlir
struct.mlir
terminator.mlir
undef.mlir