[PATCH] D133486: [LICM] Consider sret as writable object

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 10:57:17 PDT 2022


efriedma added a comment.

Do we use the sret attribute for optimization anywhere else?

Since sret has ABI implications, I'd prefer to use sret specifically for those ABI implications, and use other attributes for any other semantic meaning, if possible.  (Maybe we need some stronger form of "dereferenceable"?)


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

https://reviews.llvm.org/D133486



More information about the llvm-commits mailing list