summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-12-15 01:35:36 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-12-15 01:35:36 +0000
commite88d388fb9199236db4b3dfaddb3fc0087b6dc70 (patch)
tree2fb8fe2fa26afd333605e647dcab6ba7723f84a1 /llvm/lib/Analysis/ConstantFolding.cpp
parentddffe620e434cf37ad779c637e22c5ead51eaed8 (diff)
downloadbcm5719-llvm-e88d388fb9199236db4b3dfaddb3fc0087b6dc70.tar.gz
bcm5719-llvm-e88d388fb9199236db4b3dfaddb3fc0087b6dc70.zip
Fix whitespace in comment.
Remove TODO; icmp isn't a binary operator, so this function will never deal with them. llvm-svn: 61020
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 597eecc1d23..ea559c1010e 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -87,7 +87,7 @@ static bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV,
/// SymbolicallyEvaluateBinop - One of Op0/Op1 is a constant expression.
-/// Attempt to symbolically evaluate the result of a binary operator merging
+/// Attempt to symbolically evaluate the result of a binary operator merging
/// these together. If target data info is available, it is provided as TD,
/// otherwise TD is null.
static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0,
@@ -113,7 +113,6 @@ static Constant *SymbolicallyEvaluateBinop(unsigned Opc, Constant *Op0,
}
}
- // TODO: Fold icmp setne/seteq as well.
return 0;
}
OpenPOWER on IntegriCloud