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

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 19:30:31 PST 2016


jtony updated this revision to Diff 79855.
jtony marked an inline comment as done.
jtony added a comment.

Fix the bootstrap ISEl bug (should use ORI instruction rather than ADDI for the false branch) .
Update all the existing test cases that used to generate ISEL to test -ppc-gen-isel=false situation.
Address the comments in phabricator.
Update the new expand-isel.ll file according to the bug fix.


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/crbit-asm.ll
  test/CodeGen/PowerPC/crbits.ll
  test/CodeGen/PowerPC/expand-isel.ll
  test/CodeGen/PowerPC/fold-zero.ll
  test/CodeGen/PowerPC/i1-ext-fold.ll
  test/CodeGen/PowerPC/i64_fp_round.ll
  test/CodeGen/PowerPC/ifcvt.ll
  test/CodeGen/PowerPC/isel.ll
  test/CodeGen/PowerPC/optcmp.ll
  test/CodeGen/PowerPC/p8-isel-sched.ll
  test/CodeGen/PowerPC/ppc-crbits-onoff.ll
  test/CodeGen/PowerPC/select-i1-vs-i1.ll
  test/CodeGen/PowerPC/subreg-postra-2.ll
  test/CodeGen/PowerPC/subreg-postra.ll

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


More information about the llvm-commits mailing list