llvm-6502/lib
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
..
Analysis Test commit 2014-03-12 21:15:56 +00:00
AsmParser IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
Bitcode IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
CodeGen Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
DebugInfo Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
ExecutionEngine [ppc64] Patch in TOC restore code after all external function calls 2014-03-11 15:26:27 +00:00
IR Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
IRReader Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker [Layering] Sink Linker.h into a Linker subdirectory to make it 2014-03-06 03:42:23 +00:00
LTO [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 07:51:20 +00:00
MC Correct typo ("a entry" -> "an entry") 2014-03-12 16:56:05 +00:00
Object Object: rename ARMV7 to ARMNT 2014-03-11 03:08:37 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Profile Profile: Remove an inefficient and unnecessary API function 2014-03-12 20:26:37 +00:00
Support support: add a utility function to normalise path separators 2014-03-11 22:05:42 +00:00
TableGen Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
Target [X86] Add peephole for masked rotate amount 2014-03-12 21:20:55 +00:00
Transforms Resubmit "[SLPV] Recognize vectorizable intrinsics during SLP vectorization ..." 2014-03-12 20:21:50 +00:00
CMakeLists.txt Profile: Add a library for the instrumentation based profiling format 2014-03-12 20:14:05 +00:00
LLVMBuild.txt Profile: Add a library for the instrumentation based profiling format 2014-03-12 20:14:05 +00:00
Makefile Profile: Add a library for the instrumentation based profiling format 2014-03-12 20:14:05 +00:00