git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141750
91177308-0d34-0410-b5e6-
96231b3b80d8
// Find out what feeds this byval argument.
Value *ByValArg = CS.getArgument(ArgNo);
- Type *ByValTy =cast<PointerType>(ByValArg->getType())->getElementType();
+ Type *ByValTy = cast<PointerType>(ByValArg->getType())->getElementType();
uint64_t ByValSize = TD->getTypeAllocSize(ByValTy);
MemDepResult DepInfo =
MD->getPointerDependencyFrom(AliasAnalysis::Location(ByValArg, ByValSize),