Go to file
Ulrich Weigand ce4c109585 [SystemZ] Add CodeGen support for integer vector types
This the first of a series of patches to add CodeGen support exploiting
the instructions of the z13 vector facility.  This patch adds support
for the native integer vector types (v16i8, v8i16, v4i32, v2i64).

When the vector facility is present, we default to the new vector ABI.
This is characterized by two major differences:
- Vector types are passed/returned in vector registers
  (except for unnamed arguments of a variable-argument list function).
- Vector types are at most 8-byte aligned.

The reason for the choice of 8-byte vector alignment is that the hardware
is able to efficiently load vectors at 8-byte alignment, and the ABI only
guarantees 8-byte alignment of the stack pointer, so requiring any higher
alignment for vectors would require dynamic stack re-alignment code.

However, for compatibility with old code that may use vector types, when
*not* using the vector facility, the old alignment rules (vector types
are naturally aligned) remain in use.

These alignment rules are not only implemented at the C language level
(implemented in clang), but also at the LLVM IR level.  This is done
by selecting a different DataLayout string depending on whether the
vector ABI is in effect or not.

Based on a patch by Richard Sandiford.

llvm-svn: 236521
2015-05-05 19:25:42 +00:00
clang Allow TransformTypos to ignore corrections to a specified VarDecl. 2015-05-05 19:17:03 +00:00
clang-tools-extra Update to match clang r236404. 2015-05-04 03:15:55 +00:00
compiler-rt Disable exceptions with Clang on Windows in lib/sanitizer-common/tests 2015-05-05 16:52:50 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Allow compilation depending to the LLVM version 2015-04-29 15:37:06 +00:00
libcxx Found a Urbana paper that has library bits 2015-05-01 22:14:35 +00:00
libcxxabi Disallow conversions from function pointers to void*. 2015-05-01 01:49:37 +00:00
libunwind Make the .eh_frame_hdr code work on FreeBSD as well. 2015-04-29 20:43:44 +00:00
lld [Mips] Add more checkings to the test 2015-05-02 21:03:00 +00:00
lldb Fix process launch from Windows host to Android target. 2015-05-05 18:43:19 +00:00
llgo [llgo] add buildbot-slave config 2015-04-08 01:41:46 +00:00
llvm [SystemZ] Add CodeGen support for integer vector types 2015-05-05 19:25:42 +00:00
openmp These are the actual changes in the runtime to issue OMPT-related functions. All of them are surrounded by #if OMPT_SUPPORT and can be disabled (which is the default). 2015-04-29 16:42:24 +00:00
polly [FIX] Invalid recognition of multidimensional access 2015-05-03 16:03:01 +00:00