[PATCH] D25200: [InstCombine] New opportunities for FoldAndOfICmp and FoldXorOfICmp

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 11:03:22 PDT 2016


amehsan created this revision.
amehsan added reviewers: majnemer, spatel.
amehsan added a subscriber: llvm-commits.

This is motivated by PR-30483. New testcases and comments in the code explain the opportunities. Still more work can be done for this. I will open new PR for remaining cases (including those that Sanjay mentioned in the PR 30483)


https://reviews.llvm.org/D25200

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  test/Transforms/InstCombine/and-or-icmps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25200.73303.patch
Type: text/x-patch
Size: 9683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/5876ca5a/attachment-0001.bin>


More information about the llvm-commits mailing list