diff options
author | Paul Osmialowski <pawelo@king.net.pl> | 2015-10-14 23:21:13 +0200 |
---|---|---|
committer | Craig Griffiths <craig.griffiths@codethink.co.uk> | 2015-10-26 17:49:11 +0000 |
commit | 02acaaaf730194f061f9e9527243909ec09d7bee (patch) | |
tree | c7c93a802dbb8e61ce578cf18f24b5a92b69f582 | |
parent | 409a57128f3b4cacc5ddb63165072055cc508b9f (diff) | |
download | flang-02acaaaf730194f061f9e9527243909ec09d7bee.tar.gz |
Fix powi problem.
Signed-off-by: Paul Osmialowski <pawelo@king.net.pl>
-rw-r--r-- | lib/CodeGen/CGExprScalar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index d8c7ed8c35..7bb8ca3688 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -187,8 +187,7 @@ llvm::Value *CodeGenFunction::EmitScalarBinaryExpr(BinaryExpr::Operator Op, RHS = EmitIntToInt32Conversion(RHS); } auto Func = GetIntrinsicFunction(Intrinsic, - LHS->getType(), - RHS->getType()); + LHS->getType()); llvm::Value *PowerArgs[] = {LHS, RHS}; Result = Builder.CreateCall(Func, PowerArgs); break; |