[PATCH] Added InstCombine transform for pattern " ((X % Y) % Y) -> (X % Y) ".

sonam kumari sonam.kumari at samsung.com
Mon Sep 15 03:31:06 PDT 2014


Hi majnemer, suyog, dexonsmith, rafael,

Hi All,

This patch implements transform for the pattern " ((X % Y) % Y) -> (X % Y) "

Please help in reviewing the same.

Thanks,
Sonam.

http://reviews.llvm.org/D5350

Files:
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  test/Transforms/InstCombine/rem.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5350.13699.patch
Type: text/x-patch
Size: 1106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140915/f825a23c/attachment.bin>


More information about the llvm-commits mailing list