[SystemZ] Add SystemZPostRewrite in addPostRegAlloc() instead at -O0.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 30 Sep 2019 07:29:54 +0000 (07:29 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 30 Sep 2019 07:29:54 +0000 (07:29 +0000)
commite794c049b3e281121722069c74def5163ecf927b
tree00e7b3cec4b998099aff275753b324beebba2044
parent5951e3f81340e54b2c80fc5d3c2c452bc442f5c6
[SystemZ]  Add SystemZPostRewrite in addPostRegAlloc() instead at -O0.

SystemZPostRewrite needs to be run before (it may emit COPYs) the Post-RA
pseudo pass also at -O0, so it should be added in addPostRegAlloc().

Review: Ulrich Weigand
llvm-svn: 373182
llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
llvm/test/CodeGen/SystemZ/cond-move-09.mir [new file with mode: 0644]