We only check a subset of the constraints in the verifier:
- that we only call the intrinsic from functions with a restricted set of calling conventions
- that the 'flags' argument is an immediate
Other checks are (probably) more appropriate for codegen.
Should probably use llvm_anyptr_ty