diff options
author | Mircea Trofin <mtrofin@google.com> | 2022-04-28 11:18:28 -0700 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2022-04-28 12:42:16 -0700 |
commit | 75881d8b023ef8576afbba510c07eb8b899f2ec7 (patch) | |
tree | d84c30a4b278b37ae6849b31800ef1053aaad802 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | a546b9b06bee92a90af19f80ef8f5f2a08676cc8 (diff) | |
download | llvm-75881d8b023ef8576afbba510c07eb8b899f2ec7.zip llvm-75881d8b023ef8576afbba510c07eb8b899f2ec7.tar.gz llvm-75881d8b023ef8576afbba510c07eb8b899f2ec7.tar.bz2 |
[NFC] const-ed the return type of FunctionPropertiesAnalysis
The result is a data bag, this makes sure it's signaled to a user that
the data can't be mutated when, for example, doing something like:
auto &R = FAM.getResult<FunctionPropertiesAnalysis>(F)
...
R.Uses++
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions