diff options
| author | Craig Topper <craig.topper@gmail.com> | 2020-04-15 22:02:35 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2020-04-15 22:43:41 -0700 |
| commit | 8e1408695cef6c71ff95b037acec2503faf56ce6 (patch) | |
| tree | 256ad0fba8110bb9db8a467add9b591b6f59f50a /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 4213bc761a2cf4cfc62c459c8b5252a5dc29fc3a (diff) | |
[CallSite removal][TargetLibraryInfo] Replace ImmutableCallSite with CallBase in one of the getLibFunc signatures. NFC
Differential Revision: https://reviews.llvm.org/D78083
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index e23c6e4b1b7e..b9dff8c02ce4 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -2555,7 +2555,7 @@ bool llvm::callsGCLeafFunction(const CallBase *Call, // marked as 'gc-leaf-function.' All available Libcalls are // GC-leaf. LibFunc LF; - if (TLI.getLibFunc(ImmutableCallSite(Call), LF)) { + if (TLI.getLibFunc(*Call, LF)) { return TLI.has(LF); } |
