mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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
This commit is contained in:
parent
4ee623de0b
commit
83a7049270
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user