summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-12-22 01:23:51 +0000
committerEric Christopher <echristo@apple.com>2009-12-22 01:23:51 +0000
commitab6a0d60d5ab90f12addafb71abaa0ad0ddee4a1 (patch)
tree5e19c373bc43984a711bbdec3e8cc83041ab07f3 /llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
parent3780f0b6800938baeb346ec5ed6e230e33ab8152 (diff)
downloadbcm5719-llvm-ab6a0d60d5ab90f12addafb71abaa0ad0ddee4a1.tar.gz
bcm5719-llvm-ab6a0d60d5ab90f12addafb71abaa0ad0ddee4a1.zip
Whitespace fixes.
llvm-svn: 91875
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
index 192bcbd6c29..170e3aa658e 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
@@ -1142,8 +1142,8 @@ struct MemCpyChkOpt : public LibCallOptimization {
if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
!isa<PointerType>(FT->getParamType(0)) ||
!isa<PointerType>(FT->getParamType(1)) ||
- !isa<IntegerType>(FT->getParamType(3)) ||
- FT->getParamType(2) != TD->getIntPtrType(*Context))
+ !isa<IntegerType>(FT->getParamType(3)) ||
+ FT->getParamType(2) != TD->getIntPtrType(*Context))
return 0;
ConstantInt *SizeCI = dyn_cast<ConstantInt>(CI->getOperand(4));
@@ -1170,7 +1170,7 @@ struct MemSetChkOpt : public LibCallOptimization {
if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
!isa<PointerType>(FT->getParamType(0)) ||
!isa<IntegerType>(FT->getParamType(1)) ||
- !isa<IntegerType>(FT->getParamType(3)) ||
+ !isa<IntegerType>(FT->getParamType(3)) ||
FT->getParamType(2) != TD->getIntPtrType(*Context))
return 0;
@@ -1200,7 +1200,7 @@ struct MemMoveChkOpt : public LibCallOptimization {
if (FT->getNumParams() != 4 || FT->getReturnType() != FT->getParamType(0) ||
!isa<PointerType>(FT->getParamType(0)) ||
!isa<PointerType>(FT->getParamType(1)) ||
- !isa<IntegerType>(FT->getParamType(3)) ||
+ !isa<IntegerType>(FT->getParamType(3)) ||
FT->getParamType(2) != TD->getIntPtrType(*Context))
return 0;
OpenPOWER on IntegriCloud