efriedma added a comment.

In terms of the C++ API, we definitely want to provide an API phrased 
positively in terms of individual arguments, so transforms don't have to deal 
with inverted logic.

In terms of the actual internal memory representation, or textual IR, maybe we 
can be a bit more flexible.  `args_frozen` might be a reasonable compromise; 
the memory overhead should be pretty minimal even if we're attaching it to a 
bunch of functions, and it should be mostly readable.  But maybe a little 
awkward to explain the textual IR if it has both `arg_frozen` and `args_frozen`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81678/new/

https://reviews.llvm.org/D81678



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to