[PowerPC] Add fast-isel branch and compare selection.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 25 Aug 2013 22:33:42 +0000 (22:33 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 25 Aug 2013 22:33:42 +0000 (22:33 +0000)
commit3fad2bcd25d5f46d98ea7e41c6654833f197b960
tree8bd048ae4c5d24101cff1310391c079e7f13d922
parenta4959f3f6eb9b6ab3cbbe085a2797208682e96c6
[PowerPC] Add fast-isel branch and compare selection.

First chunk of actual fast-isel selection code.  This handles direct
and indirect branches, as well as feeding compares for direct
branches.  PPCFastISel::PPCEmitIntExt() is just roughed in and will be
expanded in a future patch.  This also corrects a problem with
selection for constant pool entries in JIT mode or with small code
model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189202 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCFastISel.cpp
test/CodeGen/PowerPC/fast-isel-br-const.ll [new file with mode: 0644]
test/CodeGen/PowerPC/fast-isel-indirectbr.ll [new file with mode: 0644]