forked from OSchip/llvm-project
parent
279c196d84
commit
c0955a57df
|
@ -1162,8 +1162,7 @@ llvm::canConstantFoldCallTo(const Function *F) {
|
|||
switch (Name[0]) {
|
||||
default: return false;
|
||||
case 'a':
|
||||
return Name == "acos" || Name == "asin" ||
|
||||
Name == "atan" || Name == "atan2";
|
||||
return Name == "acos" || Name == "asin" || Name == "atan" || Name =="atan2";
|
||||
case 'c':
|
||||
return Name == "cos" || Name == "ceil" || Name == "cosf" || Name == "cosh";
|
||||
case 'e':
|
||||
|
|
Loading…
Reference in New Issue