[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 Dec 28 17:24:18 PST 2016


jtony updated this revision to Diff 82636.
jtony added a comment.

Add 6 MIR test cases for special conditions ( mainly about R0)
(2) Fix the bug that triggers the can-fall-through assertion (when the ISEL is the last non-debug instruction of the last BB). And create 1 MIR test case for this assertion.
(3) Address some other minor comments posted on phabricator.


https://reviews.llvm.org/D23630

Files:
  lib/Target/PowerPC/CMakeLists.txt
  lib/Target/PowerPC/PPC.h
  lib/Target/PowerPC/PPCExpandISEL.cpp
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCSubtarget.h
  lib/Target/PowerPC/PPCTargetMachine.cpp
  test/CodeGen/PowerPC/crbit-asm.ll
  test/CodeGen/PowerPC/crbits.ll
  test/CodeGen/PowerPC/expand-contiguous-isel.ll
  test/CodeGen/PowerPC/expand-isel-1.mir
  test/CodeGen/PowerPC/expand-isel-2.mir
  test/CodeGen/PowerPC/expand-isel-3.mir
  test/CodeGen/PowerPC/expand-isel-4.mir
  test/CodeGen/PowerPC/expand-isel-5.mir
  test/CodeGen/PowerPC/expand-isel-6.mir
  test/CodeGen/PowerPC/expand-isel-7.mir
  test/CodeGen/PowerPC/expand-isel-8.mir
  test/CodeGen/PowerPC/expand-isel.ll
  test/CodeGen/PowerPC/fold-zero.ll
  test/CodeGen/PowerPC/i1-ext-fold.ll
  test/CodeGen/PowerPC/i1-to-double.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.82636.patch
Type: text/x-patch
Size: 71123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161229/da053e42/attachment-0001.bin>


More information about the llvm-commits mailing list