Author: Erich Keane Date: 2025-04-22T08:47:55-07:00 New Revision: 212f14fbc26e71b26d3345b272b97f22c9df4725
URL: https://github.com/llvm/llvm-project/commit/212f14fbc26e71b26d3345b272b97f22c9df4725 DIFF: https://github.com/llvm/llvm-project/commit/212f14fbc26e71b26d3345b272b97f22c9df4725.diff LOG: [CIR] Change 'CIR-int' to use a 'APIntParameter' argument (#136713) After 4bcc414af3782c333 an APInt parameter diagnoses, so this switches us to APIntParameter. I don't believe we need to put this in the incubator, as it'll get this in the same pulldown as the diagnostic. Added: Modified: clang/include/clang/CIR/Dialect/IR/CIRAttrs.td Removed: ################################################################################ diff --git a/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td b/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td index dfe15a10fa54e..293b83e70eff7 100644 --- a/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td +++ b/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td @@ -114,7 +114,7 @@ def IntAttr : CIR_Attr<"Int", "int", [TypedAttrInterface]> { value of the specified integer type. }]; let parameters = (ins AttributeSelfTypeParameter<"">:$type, - "llvm::APInt":$value); + APIntParameter<"">:$value); let builders = [ AttrBuilderWithInferredContext<(ins "mlir::Type":$type, "const llvm::APInt &":$value), [{ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits