[llvm-branch-commits] [llvm-branch] r166034 - /llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp

Tom Stellard thomas.stellard at amd.com
Tue Oct 16 10:53:11 PDT 2012


Author: tstellar
Date: Tue Oct 16 12:53:11 2012
New Revision: 166034

URL: http://llvm.org/viewvc/llvm-project?rev=166034&view=rev
Log:
AMDGPU: Fix build after merge

Modified:
    llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp

Modified: llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp?rev=166034&r1=166033&r2=166034&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/AMDILIntrinsicInfo.cpp Tue Oct 16 12:53:11 2012
@@ -76,18 +76,10 @@
 #undef GET_INTRINSIC_OVERLOAD_TABLE
 }
 
-/// This defines the "getAttributes(ID id)" method.
-#define GET_INTRINSIC_ATTRIBUTES
-#include "AMDGPUGenIntrinsics.inc"
-#undef GET_INTRINSIC_ATTRIBUTES
-
 Function*
 AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID,
     Type **Tys,
     unsigned numTys) const 
 {
-  //Silence a warning
-  AttrListPtr List = getAttributes((AMDGPUIntrinsic::ID)IntrID);
-  (void)List;
   assert(!"Not implemented");
 }





More information about the llvm-branch-commits mailing list