~pali/llvm/clang-3.5

Viewing all changes in revision 52785.

  • Committer: dsanders
  • Date: 2014-12-01 10:14:30 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:cfe/branches/release_35:222999
Merged from r218248:

[mips] Correct alignment of vectors passed in varargs for the O32 ABI.

Summary:
Vectors are normally 16-byte aligned, however the O32 ABI enforces a
maximum alignment of 8-bytes since the base of the stack is 8-byte aligned.
Previously, this was enforced on the caller side, but not on the callee side.

This fixes the output of OpenCL's printf when given vectors.

Reviewers: atanasyan

Reviewed By: atanasyan

Subscribers: llvm-commits, pekka.jaaskelainen

Differential Revision: http://reviews.llvm.org/D5433

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: