[PATCH] [hexagon] remove sxth after max with two halfword operands

Ikhlas Ajbar iajbar at codeaurora.org
Tue Jan 29 19:54:49 PST 2013


Hello,

The attached patch improves the way min and max instructions are 
generated to recognize more patterns. In particular, this patch was 
needed to remove a sign extend halfword "sxth" after a max with two 
halfword operands: testcases attached.

Tested on x86-linux with make check. Could you please review the patch?

Thanks,
Ikhlas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-remove-sxth-after-max-with-two-halfword-ope.patch
Type: text/x-patch
Size: 19068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130129/30896b86/attachment.bin>


More information about the llvm-commits mailing list