[SystemZ] Return true from isMaskAndCmp0FoldingBeneficial().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 28 May 2021 22:08:51 +0000 (00:08 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 8 Jun 2021 20:42:46 +0000 (15:42 -0500)
commitd5e4f28c0a45a659d45ae8a822c24d68fbadcfbd
tree4daf22677413a0c5da8c06ecf5b012da0d165f7f
parent211e584fa2a4c032e4d573e7cdbffd622aad0a8f
[SystemZ] Return true from isMaskAndCmp0FoldingBeneficial().

Return true if the mask is a constant uint of 2 bytes, in which case TMLL is
available.

Review: Ulrich Weigand
llvm/lib/Target/SystemZ/SystemZISelLowering.h
llvm/test/CodeGen/SystemZ/codegenprepare-sink-and-for-tm.ll [new file with mode: 0644]