Skip to content

Commit

Permalink
[AMDGPU] Fix santizer error after last commit
Browse files Browse the repository at this point in the history
Removed useless assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310738 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rampitec committed Aug 11, 2017
1 parent 10bcf7b commit 911c1e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Target/AMDGPU/AMDGPULibCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,6 @@ BasicBlock::iterator AMDGPULibCalls::getEntryIns(CallInst * UI) {
BasicBlock * BB = &Func->getEntryBlock();
assert(BB && "Entry block not found!");
BasicBlock::iterator ItNew = BB->begin();
assert(&*ItNew && "Entry instruction not found!");
return ItNew;
}

Expand Down

0 comments on commit 911c1e4

Please sign in to comment.