[cfe-commits] r53878 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Daniel Dunbar
daniel at zuster.org
Mon Jul 21 14:43:28 PDT 2008
Author: ddunbar
Date: Mon Jul 21 16:43:28 2008
New Revision: 53878
URL: http://llvm.org/viewvc/llvm-project?rev=53878&view=rev
Log:
Kill an unused variable warning
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=53878&r1=53877&r2=53878&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Jul 21 16:43:28 2008
@@ -232,11 +232,8 @@
case Builtin::BI__builtin_powil: {
Value *Base = EmitScalarExpr(E->getArg(0));
Value *Exponent = EmitScalarExpr(E->getArg(1));
-
const llvm::Type *ArgType = Base->getType();
Value *F = CGM.getIntrinsic(Intrinsic::powi, &ArgType, 1);
-
- const llvm::Type *ResultType = ConvertType(E->getType());
return RValue::get(Builder.CreateCall2(F, Base, Exponent, "tmp"));
}
More information about the cfe-commits
mailing list