[PATCH] D23630: [PPC] Expand ISEL instruction into if-then-else sequence

Tony Jiang via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 15:34:08 PST 2016


jtony added reviewers: sfertile, syzaara, lei.
jtony updated this revision to Diff 77896.
jtony marked 12 inline comments as done.
jtony added a comment.
Herald added a subscriber: modocache.

Generally, the ISEL is expanded into if-then-else sequence, in some cases (like when the destination register is the same with the true or false value register), it may just be expanded into just the if or else sequence. This patches does these further optimizations compare to the previous patch by Kit Barton.


https://reviews.llvm.org/D23630

Files:
  lib/Target/PowerPC/CMakeLists.txt
  lib/Target/PowerPC/PPC.h
  lib/Target/PowerPC/PPCExpandISEL.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  test/CodeGen/PowerPC/expand-isel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23630.77896.patch
Type: text/x-patch
Size: 14661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161114/623a1768/attachment.bin>


More information about the llvm-commits mailing list