LLVM backend for 6502
Go to file
Simon Pilgrim 509fb2c84c [SelectionDAG] Unary vector constant folding integer legality fixes
This patch fixes issues with vector constant folding not correctly handling scalar input operands if they require implicit truncation - this was tested with llvm-stress as recommended by Patrik H Hagglund.

The patch ensures that integer input scalars from a build vector are correctly truncated before folding, and that constant integer scalar results are promoted to a legal type before inclusion in the new folded build vector.

I have added another crash test case and also a test for UINT_TO_FP / SINT_TO_FP using an non-truncated scalar input, which was failing before this patch.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236308 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-01 08:20:04 +00:00
autoconf Clean up docs references to './configure' in preparation for deprecating in-source builds 2015-04-29 20:06:41 +00:00
bindings IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cmake Allow building the gold plugin even if the gold binary is not found. 2015-04-27 21:08:47 +00:00
docs Add a note about permitting default member initializers 2015-04-30 18:17:12 +00:00
examples IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
include InstrProf: Instrumenter support for setting profile output from command line 2015-04-30 23:49:23 +00:00
lib [SelectionDAG] Unary vector constant folding integer legality fixes 2015-05-01 08:20:04 +00:00
projects build: make libunwind a proper project 2015-04-25 01:47:39 +00:00
test [SelectionDAG] Unary vector constant folding integer legality fixes 2015-05-01 08:20:04 +00:00
tools [Object] Teach Object and llvm-objdump about ".hidden" 2015-04-30 23:08:53 +00:00
unittests Exhaustively test all triples in TripleTest. 2015-04-30 20:08:44 +00:00
utils [NFC] Updating FileCheck to reduce the std::vector interface used via cl::list. 2015-04-29 21:45:24 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore Ignore compile_commands.json only at the root of the tree. 2015-03-26 18:55:42 +00:00
CMakeLists.txt [CMake] Updates to llvm-shlib to support overriding exports list and added an option to export all symbols. 2015-04-13 21:29:46 +00:00
CODE_OWNERS.TXT Add myself as the Constant Folder owner. 2015-04-20 23:19:10 +00:00
configure Clean up docs references to './configure' in preparation for deprecating in-source builds 2015-04-29 20:06:41 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in Try to unbreak Clang build to export LLVM_ABI_BREAKING_CHECKS, fixup for r233310. 2015-04-01 11:46:15 +00:00
Makefile.rules
README.txt Revert test commit at revision 233535. 2015-03-30 12:39:03 +00:00

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

This directory and its subdirectories contain source code for LLVM,
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 documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

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