projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete a directory that wasn't supposed to be checked in yet.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
SROA.cpp
diff --git
a/lib/Transforms/Scalar/SROA.cpp
b/lib/Transforms/Scalar/SROA.cpp
index 71c62257e7f64b85aee702b23f59d967147b3ebe..adf7e7af83ed674d841fccdfee4d6f559eca9ee2 100644
(file)
--- a/
lib/Transforms/Scalar/SROA.cpp
+++ b/
lib/Transforms/Scalar/SROA.cpp
@@
-2763,9
+2763,9
@@
private:
: II.getRawDest()->getType();
if (!EmitMemCpy) {
if (IsVectorElement)
: II.getRawDest()->getType();
if (!EmitMemCpy) {
if (IsVectorElement)
- OtherPtrTy = VecTy->getElementType()->getPointerTo();
+ OtherPtrTy = VecTy->getElementType()->getPointerTo(
OtherPtrTy
);
else if (IntTy && !IsWholeAlloca)
else if (IntTy && !IsWholeAlloca)
- OtherPtrTy = SubIntTy->getPointerTo();
+ OtherPtrTy = SubIntTy->getPointerTo(
OtherPtrTy
);
else
OtherPtrTy = NewAI.getType();
}
else
OtherPtrTy = NewAI.getType();
}