diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-15 23:09:50 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-15 23:09:50 +0000 |
commit | 83a7049270962165579c9cfdb9f76d305b0f94bd (patch) | |
tree | 3d922687c8a31354de92b24b38686919ab98726c /lib/Transforms/Utils | |
parent | 4ee623de0b0fdaa2d5caa75bd65bc300cb889962 (diff) | |
download | external_llvm-83a7049270962165579c9cfdb9f76d305b0f94bd.zip external_llvm-83a7049270962165579c9cfdb9f76d305b0f94bd.tar.gz external_llvm-83a7049270962165579c9cfdb9f76d305b0f94bd.tar.bz2 |
Um, did someone make a typo or something?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 694c31e..8dc325f 100644 --- 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)); |