[llvm-commits] CVS: llvm/lib/Transforms/Utils/Local.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jun 15 18:16:05 PDT 2004
Changes in directory llvm/lib/Transforms/Utils:
Local.cpp updated: 1.28 -> 1.29
---
Log message:
Um, did someone make a typo or something?
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Utils/Local.cpp
diff -u llvm/lib/Transforms/Utils/Local.cpp:1.28 llvm/lib/Transforms/Utils/Local.cpp:1.29
--- llvm/lib/Transforms/Utils/Local.cpp:1.28 Tue Jun 15 16:37:54 2004
+++ llvm/lib/Transforms/Utils/Local.cpp Tue Jun 15 18:09:50 2004
@@ -273,7 +273,7 @@
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));
More information about the llvm-commits
mailing list