diff options
author | Nikita Popov <npopov@redhat.com> | 2022-10-19 11:03:54 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-10-19 11:03:54 +0200 |
commit | 747f27d97d230b0b3e318dd9d3815d27d1bb0652 (patch) | |
tree | bb6c1a573f00e5fa1510196e6e8a4d7d1afd8b9f /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 1a9d9823c5feb6336adb6d0ad1042b81350e4e20 (diff) | |
download | llvm-747f27d97d230b0b3e318dd9d3815d27d1bb0652.zip llvm-747f27d97d230b0b3e318dd9d3815d27d1bb0652.tar.gz llvm-747f27d97d230b0b3e318dd9d3815d27d1bb0652.tar.bz2 |
[AA] Rename getModRefBehavior() to getMemoryEffects() (NFC)
Follow up on D135962, renaming the method name to match the new
type name.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index ad1a001e..dfb7da9 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp @@ -1233,7 +1233,7 @@ static void AddAliasScopeMetadata(CallBase &CB, ValueToValueMapTy &VMap, IsFuncCall = true; if (CalleeAAR) { - MemoryEffects ME = CalleeAAR->getModRefBehavior(Call); + MemoryEffects ME = CalleeAAR->getMemoryEffects(Call); // We'll retain this knowledge without additional metadata. if (ME.onlyAccessesInaccessibleMem()) |