diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-12-04 13:14:02 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-12-04 13:14:02 +0000 |
| commit | 458532c2dd24708181cdce77b8f60938fdc90dc6 (patch) | |
| tree | 2fe1fc91fff79aa8d0c52c1c486aa89deadc3d67 /llvm/lib/IR/AutoUpgrade.cpp | |
| parent | dafdd7863e9eeed3a714329b8758451cbcfc33bf (diff) | |
Vendor import of llvm-project branch release/15.x llvmorg-15.0.6-0-g088f33605d8a.vendor/llvm-project/llvmorg-15.0.6-0-g088f33605d8a
Diffstat (limited to 'llvm/lib/IR/AutoUpgrade.cpp')
| -rw-r--r-- | llvm/lib/IR/AutoUpgrade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AutoUpgrade.cpp b/llvm/lib/IR/AutoUpgrade.cpp index 75594f90c926..b9962da1d302 100644 --- a/llvm/lib/IR/AutoUpgrade.cpp +++ b/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; } |
