search for: 22cac6df

Displaying 2 results from an estimated 2 matches for "22cac6df".

Did you mean: 22ac6db
2015 Apr 18
2
[LLVMdev] how can I create an SSE instrinsics sqrt?
I want to create a vector version sqrt as the following. Value *Approx::CreateFSqrt(IRBuilder<> &builder, Value *v, const char* Name) { Type *tys[] = {v->getType()}; Module* M = currF->getParent(); Value* sqrtv = Intrinsic::getDeclaration(M, Intrinsic::x86_sse2_sqrt_pd); CallInst *CI = builder.CreateCall(sqrtv, v, Name); return CI; } Here is Value *v is <2 x
2015 Apr 18
2
[LLVMdev] how can I create an SSE instrinsics sqrt?
...ouble> > > However, it outputs Assertion `isa<X>(Val) && "cast<Ty>() argument of > incompatible type! any idea? > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150417/22cac6df/attachment.html>