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

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 13:42:59 PDT 2015


This revision was automatically updated to reflect the committed changes.
sanjoy marked an inline comment as done.
Closed by commit rL247846: [InstCombine] Optimize icmp slt signum(x), 1 --> icmp slt x, 1 (authored by sanjoy).

Changed prior to commit:
  http://reviews.llvm.org/D12703?vs=34913&id=34922#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12703

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

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


More information about the llvm-commits mailing list