Skip to content

Commit e86d571

Browse files
committed
Mirror VecSplatOp arguments type constraint from clangir
1 parent 4c5ce0d commit e86d571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/CIR/Dialect/IR/CIROps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2299,7 +2299,7 @@ def VecSplatOp : CIR_Op<"vec.splat", [Pure,
22992299
```
23002300
}];
23012301

2302-
let arguments = (ins CIR_AnyType:$value);
2302+
let arguments = (ins CIR_VectorElementType:$value);
23032303
let results = (outs CIR_VectorType:$result);
23042304

23052305
let assemblyFormat = [{

0 commit comments

Comments
 (0)