Changes in directory llvm/lib/Transforms/IPO:
SimplifyLibCalls.cpp updated: 1.69.2.3 -> 1.69.2.4
---
Log message:
Round 2 of DIV updates.
---
Diffs of the changes: (+1 -1)
SimplifyLibCalls.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.69.2.3
llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.69.2.4
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.69.2.3 Fri Oct 20
03:19:49 2006
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp Wed Oct 25 20:58:05 2006
@@ -1275,7 +1275,7 @@
return true;
} else if (Op2V == -1.0) {
// pow(x,-1.0) -> 1.0/x
- BinaryOperator* div_inst= BinaryOperator::createSDiv(
+ BinaryOperator* div_inst= BinaryOperator::createFDiv(
ConstantFP::get(Ty,1.0), base, ci->getName()+".pow", ci);
ci->replaceAllUsesWith(div_inst);
ci->eraseFromParent();
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits