[PATCH] D21854: Remove AND mask of bottom 6 bits when result is used for SystemZ shift/rotate
Elliot Colp via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 07:59:06 PDT 2016
colpell updated this revision to Diff 62868.
colpell added a comment.
If the AND value has more than one use, generate a new shift/rotate node with the AND's first operand rather than removing the AND completely. Also add tests for this situation.
http://reviews.llvm.org/D21854
Files:
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
test/CodeGen/SystemZ/rot-01.ll
test/CodeGen/SystemZ/rot-02.ll
test/CodeGen/SystemZ/shift-12.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21854.62868.patch
Type: text/x-patch
Size: 9151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160706/347f74a4/attachment.bin>
More information about the llvm-commits
mailing list