[PATCH] D63032: [X86] When promoting i16 compare with immediate to i32, try to use sign_extend for eq/ne if the input is truncated from a type with enough sign its.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 9 21:47:49 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362920: [X86] When promoting i16 compare with immediate to i32, try to use sign_extend… (authored by ctopper, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63032?vs=203637&id=203768#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63032/new/

https://reviews.llvm.org/D63032

Files:
  llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
  llvm/trunk/test/CodeGen/X86/cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63032.203768.patch
Type: text/x-patch
Size: 5177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190610/f9197bc2/attachment.bin>


More information about the llvm-commits mailing list