mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Um, did someone make a typo or something?
llvm-svn: 14192
This commit is contained in:
parent
7c3600a50e
commit
cf3cb8944a
@ -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…
Reference in New Issue
Block a user