[PATCH] D40497: [PowerPC] Partially enable the ISEL expansion pass.

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 08:29:10 PST 2017


jtony created this revision.
Herald added subscribers: kbarton, nemanjai.

The pass to expand ISEL instructions into if-then-else sequences in patch https://reviews.llvm.org/D23630 is currently disabled. This patch partially enable it by always removing the unnecessary ISELs (all registers used by the ISELs are the same one) and folding the ISELs which have the same input registers into unconditional copies.


https://reviews.llvm.org/D40497

Files:
  lib/Target/PowerPC/PPCExpandISEL.cpp
  test/CodeGen/PowerPC/expand-contiguous-isel.ll
  test/CodeGen/PowerPC/expand-isel-9.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40497.124389.patch
Type: text/x-patch
Size: 5250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171127/dca041c2/attachment.bin>


More information about the llvm-commits mailing list