projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4c255
)
make CreateFMul forward to CreateFMul, not CreateMul.
author
Chris Lattner
<sabre@nondot.org>
Wed, 17 Jun 2009 06:31:02 +0000
(06:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 17 Jun 2009 06:31:02 +0000
(06:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73603
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/IRBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/IRBuilder.h
b/include/llvm/Support/IRBuilder.h
index 31377882e1077e1b5e74caf10cb9bed2af2663b6..bdbd89854752fd57e64ff877581d51adc5129d0f 100644
(file)
--- 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.Create
F
Mul(LC, RC);
return Insert(BinaryOperator::CreateFMul(LHS, RHS), Name);
}
Value *CreateUDiv(Value *LHS, Value *RHS, const char *Name = "") {