[all-commits] [llvm/llvm-project] eb470e: [ModuleSummaryAnalysis] Use helper methods to chec...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Oct 21 03:19:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eb470e67c148089d8d5c0c379a569ac55591546c
https://github.com/llvm/llvm-project/commit/eb470e67c148089d8d5c0c379a569ac55591546c
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths:
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
Log Message:
-----------
[ModuleSummaryAnalysis] Use helper methods to check readnone/readonly (NFC)
This makes sure that this code continue working when switching to
the memory attribute.
A caveat here is that onlyReadsMemory() will also true for readnone.
To be conservative, I'm explicitly excluding that case here.
More information about the All-commits
mailing list