[llvm-commits] [llvm] r73603 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Chris Lattner
sabre at nondot.org
Tue Jun 16 23:31:03 PDT 2009
Author: lattner
Date: Wed Jun 17 01:31:02 2009
New Revision: 73603
URL: http://llvm.org/viewvc/llvm-project?rev=73603&view=rev
Log:
make CreateFMul forward to CreateFMul, not CreateMul.
Modified:
llvm/trunk/include/llvm/Support/IRBuilder.h
Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=73603&r1=73602&r2=73603&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/IRBuilder.h Wed Jun 17 01:31:02 2009
@@ -202,7 +202,7 @@
Value *CreateFMul(Value *LHS, Value *RHS, const char *Name = "") {
if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
- return Folder.CreateMul(LC, RC);
+ return Folder.CreateFMul(LC, RC);
return Insert(BinaryOperator::CreateFMul(LHS, RHS), Name);
}
Value *CreateUDiv(Value *LHS, Value *RHS, const char *Name = "") {
More information about the llvm-commits
mailing list