Skip to content
Snippets Groups Projects
  1. Jul 24, 2013
    • Bill Schmidt's avatar
      [PowerPC64] Fix passing of single-vector-member structs to match ABI. · b199310f
      Bill Schmidt authored
      The 64-bit PowerPC ELF ABI requires a struct that contains a single
      vector member to be passed in a vector register as though the wrapping
      struct were not present.  Instead we were passing this as a byval
      struct.
      
      The same logic was already present for floating-point arguments, so
      this patch just extends the logic to handle vector types.  The new
      test case verifies that clang coerces the parameter and annotates it
      as inreg.
      
      Thanks,
      Bill
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186993 91177308-0d34-0410-b5e6-96231b3b80d8
      b199310f
  2. Jul 23, 2013
Loading