Displaying 2 results from an estimated 2 matches for "func_llvm_masked_gather_v128i16".
2016 Dec 30
3
Avoiding during my pass the optimization (copy propagation) of my LLVM IR code (at generation)
...following LLVM pass code generates optimized code - it does copy
propagation on it.
Value *vecShuffleOnePtr = Builder.CreateGEP(ptr_B, vecShuffleOne, "VectorGep");
...
packed_gather_params.push_back(vecShuffleOnePtr);
CallInst *callGather = Builder.CreateCall(func_llvm_masked_gather_v128i16,
packed_gather_params);
callGather->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
DEBUG(dbgs() << "callGather: " << *callGather << "\n");
When running this code we get at...
2016 Dec 31
0
Avoiding during my pass the optimization (copy propagation) of my LLVM IR code (at generation)
...oes copy propagation on it.
It does *constant* propagation to be exact.
> Value *vecShuffleOnePtr = Builder.CreateGEP(ptr_B, vecShuffleOne, "VectorGep");
> ...
> packed_gather_params.push_back(vecShuffleOnePtr);
> CallInst *callGather = Builder.CreateCall(func_llvm_masked_gather_v128i16,
> packed_gather_params);
> callGather->addAttribute(AttributeSet::FunctionIndex, Attribute::NoUnwind);
>
> DEBUG(dbgs() << "callGather: " << *callGather << "\n");
>
> When runni...