LLVM backend for 6502
Go to file
Adam Nemet a65ca9dcf0 [X86] Add peephole for masked rotate amount
Extend what's currently done for shift because the HW performs this masking
implicitly:

   (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y)

I use the newly factored out multiclass that was only supporting shifts so
far.

For testing I extended my testcase for the new rotation idiom.

<rdar://problem/15295856>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203718 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-12 21:20:55 +00:00
autoconf Add a --enable-clang-plugin-support option to configure. 2014-03-10 16:58:35 +00:00
bindings
cmake Use -std=gnu++11 on cygwin and mingw. 2014-03-12 20:01:15 +00:00
docs Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
examples Fix warnings about an variable only used in asserts. 2014-03-06 06:35:46 +00:00
include Profile: Avoid an unnecessary __attribute__((packed)) 2014-03-12 20:40:14 +00:00
lib [X86] Add peephole for masked rotate amount 2014-03-12 21:20:55 +00:00
projects "Mac OS/X" -> "Mac OS X" spelling fixes for llvm. 2014-03-07 18:08:54 +00:00
test [X86] Add peephole for masked rotate amount 2014-03-12 21:20:55 +00:00
tools Profile: Remove an inefficient and unnecessary API function 2014-03-12 20:26:37 +00:00
unittests unittests: Fix -Werror build 2014-03-12 17:00:52 +00:00
utils [lit] Fix non-function style print statement. 2014-03-11 14:05:49 +00:00
.arcconfig
.clang-format Test commit. 2014-03-02 13:08:46 +00:00
.gitignore
CMakeLists.txt move WITH_POLLY option before add_subdirectory(tools) 2014-03-11 22:42:07 +00:00
CODE_OWNERS.TXT Add myself as owner for libc++ 2014-02-18 14:03:17 +00:00
configure Add a --enable-clang-plugin-support option to configure. 2014-03-10 16:58:35 +00:00
CREDITS.TXT Fix documentation typos 2013-12-20 00:33:39 +00:00
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in Add a --enable-clang-plugin-support option to configure. 2014-03-10 16:58:35 +00:00
Makefile.rules Use -std=gnu++11 on cygwin and mingw. 2014-03-12 20:01:15 +00:00
README.txt

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 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.