[PATCH] D49222: [InstCombine]add testcases for folding more SPFofSPF pattern

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 01:56:42 PDT 2018


shchenz created this revision.
shchenz added reviewers: spatel, echristo, nemanjai.

This is from https://reviews.llvm.org/D48754.

Since we can recognize more negative operand pairs in function isKnownNegation() in https://reviews.llvm.org/D49216, we can recognize more abs pattern.

These are test cases for later patch which recognizes more ABS pattern and so we can have more SPFofSPF optimization opportunities.


https://reviews.llvm.org/D49222

Files:
  llvm/test/Transforms/InstCombine/abs_abs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49222.155129.patch
Type: text/x-patch
Size: 15146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/cc7a6b23/attachment.bin>


More information about the llvm-commits mailing list