[llvm-commits] [llvm-gcc-4.2] r49385 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Devang Patel
dpatel at apple.com
Wed Apr 9 09:03:33 PDT 2008
On Apr 9, 2008, at 12:47 AM, Duncan Sands wrote:
> Hi Devang,
>
>> + Value *RetVal = DECL_LLVM(DECL_RESULT(FnDecl));
> ...
>> + RetVal = BitCastToType(DECL_LLVM(DECL_RESULT(FnDecl)),
>> + PointerType::getUnqual(Fn-
>> >getReturnType()));
>
> Since RetVal was set to DECL_LLVM(DECL_RESULT(FnDecl)) above, you
> could use it
> here on the RHS.
Yup. The part of patch is original content, which I did not modify.
I'll fix this later if nobody fixes it sooner. Please feel free to fix
such small items as you notice because I'm testing much larger patch
in my tree and it may take a while.
-
Devang
More information about the llvm-commits
mailing list