Skip to content
  1. Nov 05, 2012
    • Ulrich Weigand's avatar
      On PowerPC64, integer arguments and return values need to be sign- or · 77ed89db
      Ulrich Weigand authored
      zero-extended to 64 bits.  This information is currently provided to
      the back end by setting "signext" or "zeroext" attributes.  However,
      this is done only for integer types *smaller* than i32, not for i32
      itself.  This causes clang to generate code violating the ABI, which
      results in a failure of the tramp3d-v4 test case (due to calling a
      system library routine without ABI-required extension).
      
      This patch implements custom versions of classifyArgumentType and
      classifyReturnType for PPC64_SVR4_ABIInfo, which are the same as the
      default versions except that they also classify "int" and "unsigned int"
      as types needing extending.  This fixed tramp3d-v4 on PowerPC64.
      
      llvm-svn: 167393
      77ed89db
  2. Nov 04, 2012
  3. Nov 03, 2012
  4. Nov 02, 2012
  5. Nov 01, 2012
  6. Oct 31, 2012
  7. Oct 30, 2012
  8. Oct 29, 2012
  9. Oct 27, 2012
  10. Oct 26, 2012
  11. Oct 25, 2012
Loading