LLVM backend for 6502
Go to file
Adhemerval Zanella 1c7d69bbe2 PR12716: PPC crashes on vector compare
Vector compare using altivec 'vcmpxxx' instructions have as third argument
a vector register instead of CR one, different from integer and float-point
compares. This leads to a failure in code generation, where 'SelectSETCC'
expects a DAG with a CR register and gets vector register instead.

This patch changes the behavior by just returning a DAG with the 
vector compare instruction based on the type. The patch also adds a testcase
for all vector types llvm defines.

It also included a fix on signed 5-bits predicates printing, where
signed values were not handled correctly as signed (char are unsigned by
default for PowerPC). This generates 'vspltisw' (vector splat)
instruction with SIM out of range.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165419 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-08 18:59:53 +00:00
autoconf Re-enable support for --program-prefix. 2012-10-01 18:40:32 +00:00
bindings Fix the ocaml binding breakage from TargetData -> DataLayout changes. 2012-10-08 17:06:25 +00:00
cmake [CMake] Enhance add_llvm_external_project. 2012-10-05 14:10:17 +00:00
docs Move TargetData to DataLayout. 2012-10-08 16:39:34 +00:00
examples Move TargetData to DataLayout. 2012-10-08 16:37:04 +00:00
include misched: remove the unused getSpecialAddressLatency hook. 2012-10-08 18:54:00 +00:00
lib PR12716: PPC crashes on vector compare 2012-10-08 18:59:53 +00:00
projects Re-enable support for --program-prefix. 2012-10-01 18:40:32 +00:00
runtime Add an explicit -object_path_lto flag during linking with a uniquified temporary 2012-10-03 23:52:10 +00:00
test PR12716: PPC crashes on vector compare 2012-10-08 18:59:53 +00:00
tools Move TargetData to DataLayout. 2012-10-08 16:39:34 +00:00
unittests Move TargetData to DataLayout. 2012-10-08 16:39:34 +00:00
utils Move TargetData to DataLayout. 2012-10-08 16:39:34 +00:00
.gitignore Ignore the documentation-suggested location for compile_commands.json 2012-08-21 19:23:30 +00:00
CMakeLists.txt Removing dependency on third party library for Intel JIT event support. 2012-09-28 17:35:20 +00:00
CODE_OWNERS.TXT Add the list of code owners to the top level of the LLVM source tree to 2012-07-26 08:04:09 +00:00
configure Re-enable support for --program-prefix. 2012-10-01 18:40:32 +00:00
CREDITS.TXT Move TargetData to DataLayout. 2012-10-08 16:40:38 +00:00
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile Set the 'build clang only' flag when we're building only clang. 2012-10-02 20:32:23 +00:00
Makefile.common [docs] Remove unsupported references to ExtraSource variable. 2012-05-15 21:32:27 +00:00
Makefile.config.in Re-enable support for --program-prefix. 2012-10-01 18:40:32 +00:00
Makefile.rules Use -object_path_lto when linking executables if building Apple style. 2012-10-05 00:22:46 +00:00
README.txt test commit 2012-07-11 17:34:12 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.

If you're writing a package for LLVM, see docs/Packaging.html for our
suggestions.