[PATCH] D12703: [InstCombine] Optimize icmp slt signum(x), 1 --> icmp sle x, 0.

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 12:26:47 PDT 2015


sanjoy updated this revision to Diff 34913.
sanjoy added a comment.

- address David's review


http://reviews.llvm.org/D12703

Files:
  include/llvm/IR/PatternMatch.h
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/compare-signs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12703.34913.patch
Type: text/x-patch
Size: 3961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150916/9417d943/attachment.bin>


More information about the llvm-commits mailing list