Introduced in r293244.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293251
91177308-0d34-0410-b5e6-
96231b3b80d8
SmallVector<Value *, 4> Args(II->arg_operands());
// All the target-generic intrinsics currently of interest to us have one
// type argument, equal to that of the nvvm intrinsic's argument.
- ArrayRef<Type *> Tys = {II->getArgOperand(0)->getType()};
+ Type *Tys[] = {II->getArgOperand(0)->getType()};
return CallInst::Create(
Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args);
}