[SystemZ] Improve handling of SETCC
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 16 Oct 2013 11:10:55 +0000 (11:10 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 16 Oct 2013 11:10:55 +0000 (11:10 +0000)
commitd1a4f579bf45aec933c79292b6b9663581438738
tree4da52c699044d9938c699425da7148601d5e89d8
parent5d7e93c0d44a96a416d2f1d1518954d8fed73f40
[SystemZ] Improve handling of SETCC

We previously used the default expansion to SELECT_CC, which in turn would
expand to "LHI; BRC; LHI".  In most cases it's better to use an IPM-based
sequence instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192784 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZ.h
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
lib/Target/SystemZ/SystemZInstrInfo.cpp
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
test/CodeGen/SystemZ/branch-07.ll
test/CodeGen/SystemZ/setcc-01.ll [new file with mode: 0644]
test/CodeGen/SystemZ/setcc-02.ll [new file with mode: 0644]