summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-08-11 17:54:43 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-08-11 17:54:43 +0000
commit976cedda26c29c600b786611efcc353bf9c50343 (patch)
treec3585df90a0b69341f9b7924c5e7a80bd9594b9f /llvm/lib
parent24524f314c0939edfb9fdbbeb16e1d027d548683 (diff)
downloadbcm5719-llvm-976cedda26c29c600b786611efcc353bf9c50343.tar.gz
bcm5719-llvm-976cedda26c29c600b786611efcc353bf9c50343.zip
[AMDGPU] Fix santizer error after last commit
Removed useless assert. llvm-svn: 310738
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
index 9a83e3866c0..57cb2a6a921 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
@@ -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;
}
OpenPOWER on IntegriCloud