gcc/
* config/rs6000/rs6000-call.cc (swap_endian_selector_for_mode):
Corrects comments of this function and make them clear.
return build_va_arg_indirect_ref (addr);
}
-/* The selector (perm) is expected to be used with vperm direct as the
- function generates reversed perm for little endian with this patch. */
+/* Return the permutation index for the swapping on the given vector mode.
+ Note that the permutation index is correspondingly generated by endianness,
+ it should be used by direct vector permutation. */
+
rtx
swap_endian_selector_for_mode (machine_mode mode)
{