[SystemZ] Fixes in the backend I/R.
authorJonas Paulsson <jonas.paulsson@ericsson.com>
Sat, 10 Oct 2015 07:14:24 +0000 (07:14 +0000)
committerJonas Paulsson <jonas.paulsson@ericsson.com>
Sat, 10 Oct 2015 07:14:24 +0000 (07:14 +0000)
commit4f255d63c64ef12a32902d91c7fc022b3cc9cfb5
tree3eedf1ed3d48338329f1d854010f1c4f2a23b746
parente3284eab8a80cc5c3e2514cac085e7bd77b74d3f
[SystemZ] Fixes in the backend I/R.

expandPostRAPseudo():
STX -> 2 * STD: The first STD should not have the kill flag set for the address.

SystemZElimCompare:
BRC -> BRCT conversion: Don't forget to remove the CC<use,kill> operand.

Needed to make SystemZ/asm-17.ll pass with -verify-machineinstrs, which
now runs with this flag.

Reviewed by Ulrich Weigand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZElimCompare.cpp
lib/Target/SystemZ/SystemZInstrInfo.cpp
test/CodeGen/SystemZ/asm-17.ll