================ @@ -155,21 +153,14 @@ def CIR_LongDouble : CIR_FloatType<"LongDouble", "long_double"> { format are all in use. }]; - let parameters = (ins "mlir::Type":$underlying); + let parameters = (ins AnyTypeOf<[CIR_Double, CIR_FP80, CIR_FP128], + "expects !cir.double, !cir.fp80 or !cir.fp128">:$underlying); ---------------- andykaylor wrote:
Can you add a test for this? It looks like the wording of the reported error will change, so we must not have a test now. https://github.com/llvm/llvm-project/pull/138112 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits