================
@@ -1720,6 +1720,22 @@ ParseResult cir::FuncOp::parse(OpAsmParser &parser,
OperationState &state) {
hasAlias = true;
}
+ // Parse optional inline attribute: inline_never, inline_always, or
+ // inline_hint
+ if (parser.parseOptionalKeyword("inline_never").succeeded()) {
----------------
andykaylor wrote:
I think it would be better if this we represented as
`inline([always|never|hint])` so that we could more easily enforce only having
one of them present.
https://github.com/llvm/llvm-project/pull/162866
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits