1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/projects/sample
Bill Schmidt 88e45cc177 [PowerPC] Support powerpc64le as a syntax-checking target.
This patch provides basic support for powerpc64le as an LLVM target.
However, use of this target will not actually generate little-endian
code.  Instead, use of the target will cause the correct little-endian
built-in defines to be generated, so that code that tests for
__LITTLE_ENDIAN__, for example, will be correctly parsed for
syntax-only testing.  Code generation will otherwise be the same as
powerpc64 (big-endian), for now.

The patch leaves open the possibility of creating a little-endian
PowerPC64 back end, but there is no immediate intent to create such a
thing.

The LLVM portions of this patch simply add ppc64le coverage everywhere
that ppc64 coverage currently exists.  There is nothing of any import
worth testing until such time as little-endian code generation is
implemented.  In the corresponding Clang patch, there is a new test
case variant to ensure that correct built-in defines for little-endian
code are generated.

llvm-svn: 187179
2013-07-26 01:35:43 +00:00
..
autoconf [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
docs
include
lib
tools Clean up the sample include orderings, not that it really matters... 2012-12-04 10:46:21 +00:00
configure Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
Makefile
Makefile.common.in projects/sample: Switch over to imported Makefile setup. 2011-10-27 21:25:09 +00:00
Makefile.llvm.config.in Add --enable-werror and --enable-cxx11 to projects/sample/ 2012-11-12 06:11:12 +00:00
Makefile.llvm.rules Remove dead code from the makefile build system. 2013-07-25 20:25:31 +00:00