From 911c1e458f0f5070ee1d0e7c915e89de18ef4ac2 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 11 Aug 2017 17:54:43 +0000 Subject: [PATCH] [AMDGPU] Fix santizer error after last commit Removed useless assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310738 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/AMDGPULibCalls.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/AMDGPU/AMDGPULibCalls.cpp b/lib/Target/AMDGPU/AMDGPULibCalls.cpp index 9a83e3866c0..57cb2a6a921 100644 --- a/lib/Target/AMDGPU/AMDGPULibCalls.cpp +++ b/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; } -- 2.50.1