[SystemZ] Split out comparison elimination into a separate pass
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 5 Aug 2013 10:58:53 +0000 (10:58 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 5 Aug 2013 10:58:53 +0000 (10:58 +0000)
commit66fbb4781841a8411a772b6909a7e0de182b896f
tree282862d1fa64afb72878b1e7dec031fb42ad3d3f
parent13e6e9171f79a481d7f814aad958460dfd867c71
[SystemZ] Split out comparison elimination into a separate pass

Perhaps predictably, doing comparison elimination on the fly during
SystemZLongBranch turned out to be a bad idea.  The next patches make
use of LOAD AND TEST and BRANCH ON COUNT, both of which require
changes to earlier instructions.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/CMakeLists.txt
lib/Target/SystemZ/SystemZ.h
lib/Target/SystemZ/SystemZElimCompare.cpp [new file with mode: 0644]
lib/Target/SystemZ/SystemZLongBranch.cpp
lib/Target/SystemZ/SystemZTargetMachine.cpp