aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/IRBuilder.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-17 06:31:02 +0000
committerChris Lattner <sabre@nondot.org>2009-06-17 06:31:02 +0000
commit95c497086991846e55c007ed8f2d6bc6c897c8ab (patch)
tree6677cd63421bc9208ba3270d9c0e8cbe3135ba71 /include/llvm/Support/IRBuilder.h
parentdaea42b33a53d22f0ccd3edd976241504d22d774 (diff)
downloadexternal_llvm-95c497086991846e55c007ed8f2d6bc6c897c8ab.zip
external_llvm-95c497086991846e55c007ed8f2d6bc6c897c8ab.tar.gz
external_llvm-95c497086991846e55c007ed8f2d6bc6c897c8ab.tar.bz2
make CreateFMul forward to CreateFMul, not CreateMul.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IRBuilder.h')
-rw-r--r--include/llvm/Support/IRBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h
index 3137788..bdbd898 100644
--- a/include/llvm/Support/IRBuilder.h
+++ b/include/llvm/Support/IRBuilder.h
@@ -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 = "") {