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

Kit Barton via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 15:17:24 PDT 2016


kbarton created this revision.
kbarton added reviewers: hfinkel, nemanjai, amehsan, Carrot.
kbarton added subscribers: llvm-commits, echristo.
Herald added a subscriber: nemanjai.

This patch will expand the isel instruction into an if-then-else sequence.
The expansion is done late, after instruction scheduling, as the isel instruction does terminate basic blocks, allowing for larger scopes for scheduling.

There are still some performance problems that I'm investigating. Specifically, there is a significant slowdown in SPEC2k6 hmmer (roughly 40%).
So, there will likely be another version of this patch necessary before committing. However, any feedback on the current patch is appreciated.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23630.68433.patch
Type: text/x-patch
Size: 12040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160817/8c946c4d/attachment.bin>


More information about the llvm-commits mailing list