From 80b9fe19c51e72d925603bf77384286762ee5ef3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 16 Jul 2012 18:19:37 +0000 Subject: [PATCH] Revert "Target/AMDGPU/AMDILIntrinsicInfo.cpp: Use llvm_unreachable() in nonreturn function, instead of assert(0)." This reverts commit 4ba4acc1bc2561b944a571edbb6a2dc78e357dfe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160296 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp b/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp index d5682cafd5b..01dae336dfb 100644 --- a/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp +++ b/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp @@ -89,5 +89,5 @@ AMDILIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, //Silence a warning AttrListPtr List = getAttributes((AMDGPUIntrinsic::ID)IntrID); (void)List; - llvm_unreachable("Not implemented"); + assert(!"Not implemented"); }