================
@@ -327,7 +325,8 @@ def CIR_CastOp : CIR_Op<"cast", !listconcat([
let results = (outs CIR_AnyType:$result);
let assemblyFormat = [{
- enum($kind) $src `:` type($src) `->` type($result) attr-dict
+ enum($kind) $src `:` type($src) `->` type($result)
+ (`fenv` `` custom<FenvFields>($fenv)^)? attr-dict
----------------
xlauko wrote:
uff sorry, I did not mean custom format. We try to to minimize its use only to
necessary uses, it tends to creep in random parse/print misalignment errors,
and is poorly extendable. If there is no way to do my suggested change in pure
assemblyFormat lets keep the repeated form for now.
https://github.com/llvm/llvm-project/pull/226600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits