aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-11-12 10:09:42 -0800
committerGitHub <noreply@github.com>2024-11-12 10:09:42 -0800
commit4048c64306e23b622443bbe7293057a9b07a13bb (patch)
tree6f95df1fd4e39ecc50b93b2c67beb039a0e5dbe4 /llvm/lib/IR/BasicBlock.cpp
parentc784d321d90a3609caeacfb525b7ccadd41a5195 (diff)
downloadllvm-4048c64306e23b622443bbe7293057a9b07a13bb.zip
llvm-4048c64306e23b622443bbe7293057a9b07a13bb.tar.gz
llvm-4048c64306e23b622443bbe7293057a9b07a13bb.tar.bz2
[llvm] Remove redundant control flow statements (NFC) (#115831)
Identified with readability-redundant-control-flow.
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-rw-r--r--llvm/lib/IR/BasicBlock.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp
index 39cefa5..0efc04c 100644
--- a/llvm/lib/IR/BasicBlock.cpp
+++ b/llvm/lib/IR/BasicBlock.cpp
@@ -798,8 +798,6 @@ void BasicBlock::spliceDebugInfoEmptyBlock(BasicBlock::iterator Dest,
return;
createMarker(Dest)->absorbDebugValues(*First->DebugMarker, InsertAtHead);
-
- return;
}
void BasicBlock::spliceDebugInfo(BasicBlock::iterator Dest, BasicBlock *Src,