[PATCH] [mips] Correct alignment of vectors passed in varargs for the O32 ABI.
Daniel Sanders
daniel.sanders at imgtec.com
Mon Sep 22 02:32:02 PDT 2014
Hi atanasyan,
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.
http://reviews.llvm.org/D5433
Files:
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips-varargs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5433.13922.patch
Type: text/x-patch
Size: 2737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140922/9ea1a92e/attachment.bin>
More information about the llvm-commits
mailing list