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.
This commit is contained in:
Tom Stellard 2012-01-05 10:18:54 -05:00
parent baab68e1a6
commit 9611237051
1 changed files with 0 additions and 7 deletions

View File

@ -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;
}