Skip to content

Commit 9cbe625

Browse files
authored
Update LLVMAttrDefs.td
1 parent d836186 commit 9cbe625

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ def LLVM_TargetFeaturesAttr : LLVM_Attr<"TargetFeatures", "target_features">
11621162
let parameters = (ins OptionalArrayRefParameter<"StringAttr">:$features);
11631163

11641164
let builders = [
1165-
TypeBuilder<(ins "::llvm::StringRef":$features)>
1165+
TypeBuilder<(ins "::llvm::StringRef":$features)>,
1166+
TypeBuilder<(ins "::llvm::ArrayRef<::llvm::StringRef>":$features)>
11661167
];
11671168

11681169
let extraClassDeclaration = [{

0 commit comments

Comments
 (0)