[cfe-commits] r41436 - /cfe/trunk/CodeGen/CGStmt.cpp
Chris Lattner
sabre at nondot.org
Sun Aug 26 00:09:43 PDT 2007
Author: lattner
Date: Sun Aug 26 02:09:42 2007
New Revision: 41436
URL: http://llvm.org/viewvc/llvm-project?rev=41436&view=rev
Log:
these implicit conversions are now explicit :)
Modified:
cfe/trunk/CodeGen/CGStmt.cpp
Modified: cfe/trunk/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGStmt.cpp?rev=41436&r1=41435&r2=41436&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/CodeGen/CGStmt.cpp Sun Aug 26 02:09:42 2007
@@ -295,9 +295,6 @@
else
Builder.CreateRet(llvm::UndefValue::get(RetTy));
} else {
- // Do implicit conversions to the returned type.
- RetVal = EmitConversion(RetVal, RV->getType(), FnRetTy);
-
if (RetVal.isScalar()) {
Builder.CreateRet(RetVal.getVal());
} else {
More information about the cfe-commits
mailing list