[PATCH] D134388: [Analysis] Make members of InlineCost const (NFC)

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 03:49:16 PDT 2022


yrouban added a comment.

It is very inconvenient to have non-static const fields.
In our downstream source we have a field of InlineCost that is changing. With this patch we cannot change the value of the field. The same problem is with locals of InlineCost type.
Consider reverting this patch, please.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134388



More information about the llvm-commits mailing list