[PATCH] D56156: [DAGCombiner][X86][PowerPC] Teach visitSIGN_EXTEND_INREG to fold (sext_in_reg (aext/sext x)) -> (sext x) when x has more than 1 sign bit and the sext_inreg is from one of them.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 29 20:50:51 PST 2018


craig.topper updated this revision to Diff 179719.
craig.topper added a comment.

Rebase


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56156

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/PowerPC/f128-truncateNconv.ll
  test/CodeGen/PowerPC/ppc64-P9-setb.ll
  test/CodeGen/X86/setcc-combine.ll
  test/CodeGen/X86/vsel-cmp-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56156.179719.patch
Type: text/x-patch
Size: 8816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181230/5c9477f0/attachment.bin>


More information about the llvm-commits mailing list