[PATCH] D28406: [InstCombine] icmp sgt (shl nsw X, C1), C0 --> icmp sgt X, C0 >> C1

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 08:23:22 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL292492: [InstCombine] icmp Pred (shl nsw X, C1), C0 --> icmp Pred X, C0 >> C1 (authored by spatel).

Changed prior to commit:
  https://reviews.llvm.org/D28406?vs=84885&id=84972#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28406

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/test/Transforms/InstCombine/icmp-shl-nsw.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28406.84972.patch
Type: text/x-patch
Size: 11946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/2c668680/attachment.bin>


More information about the llvm-commits mailing list