From 9611237051e32b912f17e2d6cd23528d66ad5d81 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 5 Jan 2012 10:18:54 -0500 Subject: gallivm: Allow target specific intrinsics in lp_declare_intrinsic() Target specific intrinsics are also prefixed with llvm, so this assert was preventing us from using them. --- src/gallium/auxiliary/gallivm/lp_bld_intr.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_intr.c') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c index 518a01fdb9f..2323f124ae4 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.c @@ -70,13 +70,6 @@ lp_declare_intrinsic(LLVMModuleRef module, assert(LLVMIsDeclaration(function)); - if(name[0] == 'l' && - name[1] == 'l' && - name[2] == 'v' && - name[3] == 'm' && - name[4] == '.') - assert(LLVMGetIntrinsicID(function)); - return function; } -- cgit v1.2.3