summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-07-27 06:12:32 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-07-27 06:12:32 +0000
commit5f4ef3c5a88f058ad98611c24617f41bc6a45d50 (patch)
tree3c31e3e2214e6adfa39e09862f9a26865f575847 /llvm/lib/Transforms/Utils/Local.cpp
parent8e2411334cd0d7f6be54dd2b5d5cc012b6e604a1 (diff)
downloadbcm5719-llvm-5f4ef3c5a88f058ad98611c24617f41bc6a45d50.tar.gz
bcm5719-llvm-5f4ef3c5a88f058ad98611c24617f41bc6a45d50.zip
Eliminate all remaining tabs and trailing spaces.
llvm-svn: 22523
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index b355b08672c..4ce9d8f11a1 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -245,10 +245,10 @@ bool llvm::canConstantFoldCallTo(Function *F) {
switch (Name[0])
{
case 'a':
- return Name == "acos" || Name == "asin" || Name == "atan" ||
+ return Name == "acos" || Name == "asin" || Name == "atan" ||
Name == "atan2";
case 'c':
- return Name == "ceil" || Name == "cos" || Name == "cosf" ||
+ return Name == "ceil" || Name == "cos" || Name == "cosf" ||
Name == "cosh";
case 'e':
return Name == "exp";
@@ -374,7 +374,7 @@ Constant *llvm::ConstantFoldCall(Function *F,
bool llvm::isInstructionTriviallyDead(Instruction *I) {
if (!I->use_empty() || isa<TerminatorInst>(I)) return false;
-
+
if (!I->mayWriteToMemory()) return true;
if (CallInst *CI = dyn_cast<CallInst>(I))
OpenPOWER on IntegriCloud