[SystemZ] NFC: use clearRegisterDeads() in SystemZElimCompare.cpp
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 9 Sep 2019 07:58:57 +0000 (07:58 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 9 Sep 2019 07:58:57 +0000 (07:58 +0000)
commitca6f4522992970964ae4dbb0465a2b191e2ac60e
tree7db9ad90f7794083f0a3870cc721ba12263a2572
parenta88f58ff0e8bcd8407c073e32e2ce4b0878b02f4
[SystemZ]  NFC: use clearRegisterDeads() in SystemZElimCompare.cpp

This is simpler than using findRegisterDefOperandIdx() + setIsDead().

Review: Ulrich Weigand.
llvm-svn: 371369
llvm/lib/Target/SystemZ/SystemZElimCompare.cpp