[llvm-commits] [llvm-gcc-4.2] r50323 - /llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp
Bill Wendling
isanbard at gmail.com
Sun Apr 27 13:29:01 PDT 2008
Author: void
Date: Sun Apr 27 15:29:00 2008
New Revision: 50323
URL: http://llvm.org/viewvc/llvm-project?rev=50323&view=rev
Log:
Porting r50307 into Tak.
Modified:
llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp
Modified: llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp?rev=50323&r1=50322&r2=50323&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Tak/gcc/config/rs6000/llvm-rs6000.cpp Sun Apr 27 15:29:00 2008
@@ -398,7 +398,7 @@
// ppc32 passes aggregates by copying, either in int registers or on the
// stack.
const StructType *STy = dyn_cast<StructType>(Ty);
- if (!STy || STy->isPacked()) return true;
+ if (!STy) return true;
// A struct containing only a float, double or vector field, possibly with
// some zero-length fields as well, must be passed as the field type.
@@ -429,7 +429,7 @@
return false;
const StructType *STy = dyn_cast<StructType>(Ty);
- if (!STy || STy->isPacked()) return false;
+ if (!STy) return false;
// A struct containing only a float, double or Altivec field, possibly with
// some zero-length fields as well, must be passed as the field type.
More information about the llvm-commits
mailing list