summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-01-05 10:18:54 -0500
committerTom Stellard <[email protected]>2012-01-13 11:45:49 -0500
commit9611237051e32b912f17e2d6cd23528d66ad5d81 (patch)
tree9b580898bb3918d66ff60481c63e3847102c2658 /src/gallium/auxiliary
parentbaab68e1a607b818c8988e70546fe3e6f97cf572 (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.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_intr.c7
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;
}