diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-01-05 10:18:54 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-01-05 10:18:54 -0500 |
commit | 51f076b108d8be3104822245a6f3eec0f65233c0 (patch) | |
tree | 21c612323fd5ac54c4f5599b3b1a4cb27464d6c1 | |
parent | ad66f2acc8a88625efa50a5bd537c8fbab3a09b8 (diff) |
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.
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_intr.c | 7 |
1 files changed, 0 insertions, 7 deletions
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; } |