projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee623d
)
Um, did someone make a typo or something?
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 15 Jun 2004 23:09:50 +0000
(23:09 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 15 Jun 2004 23:09:50 +0000
(23:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14192
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/Local.cpp
b/lib/Transforms/Utils/Local.cpp
index 694c31e1f96e61643697dcd5bd6145f435ab5483..8dc325f427fa4e9bcabde274681fb5c9a4bc2011 100644
(file)
--- a/
lib/Transforms/Utils/Local.cpp
+++ b/
lib/Transforms/Utils/Local.cpp
@@
-273,7
+273,7
@@
Constant *llvm::ConstantFoldCall(Function *F,
if (Operands.size() == 1) {
if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) {
double V = Op->getValue();
-
else
if (Name == "sin")
+ if (Name == "sin")
return ConstantFP::get(Ty, sin(V));
else if (Name == "cos")
return ConstantFP::get(Ty, cos(V));