diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-08-13 12:28:03 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-08-13 12:28:03 +0000 |
| commit | 677727e8296a802385345db6fa65e68223f4597a (patch) | |
| tree | e8b3137703a6bf0c03c6d3b28da1eb9271bae00d /llvm/lib/Analysis/ConstantFolding.cpp | |
| parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) | |
Vendor import of llvm-project branch release/15.x llvmorg-15.0.0-rc2-40-gfbd2950d8d0d.vendor/llvm-project/llvmorg-15.0.0-rc2-40-gfbd2950d8d0d
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index aa4da27be4e5..ae927dae74f7 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp @@ -3120,7 +3120,7 @@ static Constant *ConstantFoldFixedVectorCall( } return ConstantVector::get(NCs); } - break; + return nullptr; } case Intrinsic::get_active_lane_mask: { auto *Op0 = dyn_cast<ConstantInt>(Operands[0]); @@ -3139,7 +3139,7 @@ static Constant *ConstantFoldFixedVectorCall( } return ConstantVector::get(NCs); } - break; + return nullptr; } default: break; |
