make CreateFMul forward to CreateFMul, not CreateMul.

llvm-svn: 73603
This commit is contained in:
Chris Lattner 2009-06-17 06:31:02 +00:00
parent d9d1f817a0
commit e60ff6702a
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public:
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 = "") {