[llvm-commits] [llvm-gcc-4.2] r49245 - /llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c
Evan Cheng
evan.cheng at apple.com
Fri Apr 4 17:54:52 PDT 2008
Author: evancheng
Date: Fri Apr 4 19:54:51 2008
New Revision: 49245
URL: http://llvm.org/viewvc/llvm-project?rev=49245&view=rev
Log:
More C++ comments in C code.
Modified:
llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c
Modified: llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c?rev=49245&r1=49244&r2=49245&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/rs6000/rs6000.c Fri Apr 4 19:54:51 2008
@@ -4899,13 +4899,13 @@
rs6000_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED)
{
/* LLVM LOCAL begin strcut return check */
- // FIXME darwin ppc64 often returns structs partly in memory and partly
- // in regs. The binary interface of return_in_memory (which does the
- // work for aggregate_value_p) is not a good match for this; in fact
- // this target returns false if any part of it goes in registers. Which
- // means aggregate_value_p is not useful on this target for this purpose.
- // This is a big nasty longterm problem. For now put things back the
- // way they used to be (wrong, but fewer crashes).
+ /* FIXME darwin ppc64 often returns structs partly in memory and partly
+ in regs. The binary interface of return_in_memory (which does the
+ work for aggregate_value_p) is not a good match for this; in fact
+ this target returns false if any part of it goes in registers. Which
+ means aggregate_value_p is not useful on this target for this purpose.
+ This is a big nasty longterm problem. For now put things back the
+ way they used to be (wrong, but fewer crashes). */
if (TARGET_64BIT && TREE_INT_CST_LOW(TYPE_SIZE_UNIT(type)) > 8)
return true;
/* LLVM LOCAL end strcut return check */
More information about the llvm-commits
mailing list