Skip to content

Commit 6097632

Browse files
committed
Mirror VecSplatOp arguments type constraint from clangir
1 parent 6a85770 commit 6097632

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
@@ -2255,7 +2255,7 @@ def VecSplatOp : CIR_Op<"vec.splat", [Pure,
22552255
```
22562256
}];
22572257

2258-
let arguments = (ins CIR_AnyType:$value);
2258+
let arguments = (ins CIR_VectorElementType:$value);
22592259
let results = (outs CIR_VectorType:$result);
22602260

22612261
let assemblyFormat = [{

0 commit comments

Comments
 (0)