]> granicus.if.org Git - llvm/commit
[PowerPC] Expand ISEL instruction into if-then-else sequence.
authorTony Jiang <jtony@ca.ibm.com>
Mon, 16 Jan 2017 14:43:12 +0000 (14:43 +0000)
committerTony Jiang <jtony@ca.ibm.com>
Mon, 16 Jan 2017 14:43:12 +0000 (14:43 +0000)
commit541103a1c606980e91451067f98b00c57c2fbf53
tree71e608e62fa3752f9079a0befba7c6aaaa6f8640
parent3157d2b8a6029fbce7b4257b355e3f555f00930d
[PowerPC] Expand ISEL instruction into if-then-else sequence.

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292128 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPCExpandISEL.cpp [new file with mode: 0644]
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 [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-1.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-2.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-3.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-4.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-5.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-6.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-7.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel-8.mir [new file with mode: 0644]
test/CodeGen/PowerPC/expand-isel.ll [new file with mode: 0644]
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