mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
make CreateFMul forward to CreateFMul, not CreateMul.
llvm-svn: 73603
This commit is contained in:
parent
46f767dd67
commit
ee538a1431
@ -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 = "") {
|
||||
|
Loading…
Reference in New Issue
Block a user