[llvm] r310738 - [AMDGPU] Fix santizer error after last commit
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 10:54:43 PDT 2017
Author: rampitec
Date: Fri Aug 11 10:54:43 2017
New Revision: 310738
URL: http://llvm.org/viewvc/llvm-project?rev=310738&view=rev
Log:
[AMDGPU] Fix santizer error after last commit
Removed useless assert.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPULibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPULibCalls.cpp?rev=310738&r1=310737&r2=310738&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPULibCalls.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPULibCalls.cpp Fri Aug 11 10:54:43 2017
@@ -1303,7 +1303,6 @@ BasicBlock::iterator AMDGPULibCalls::get
BasicBlock * BB = &Func->getEntryBlock();
assert(BB && "Entry block not found!");
BasicBlock::iterator ItNew = BB->begin();
- assert(&*ItNew && "Entry instruction not found!");
return ItNew;
}
More information about the llvm-commits
mailing list