diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-12-04 22:09:55 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-08 19:05:19 +0000 |
| commit | f3fd488f1e19a3d09c4bdcece893901de4f49cdd (patch) | |
| tree | 82183a5b9324006d7ceab77a1f77644cf9394067 /contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp | |
| parent | 6246ae0b85d8159978c01ae916a9ad6cde9378b5 (diff) | |
| parent | 458532c2dd24708181cdce77b8f60938fdc90dc6 (diff) | |
Diffstat (limited to 'contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp b/contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp index 75594f90c926..b9962da1d302 100644 --- a/contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp +++ b/contrib/llvm-project/llvm/lib/IR/AutoUpgrade.cpp @@ -1040,7 +1040,7 @@ static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { Name, F->getParent()); // The new function may also need remangling. - if (auto Result = llvm::Intrinsic::remangleIntrinsicFunction(F)) + if (auto Result = llvm::Intrinsic::remangleIntrinsicFunction(NewFn)) NewFn = *Result; return true; } |
