summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/zext-and-cmp.ll
AgeCommit message (Collapse)Author
2017-11-29[PowerPC] Relax the checking on AND/AND8 in isSignOrZeroExtended.Sean Fertile
Separate the handling of AND/AND8 out from PHI/OR/ISEL checking. The reasoning is the others need all their operands to be sign/zero extended for their output to also be sign/zero extended. This is true for AND and sign-extension, but for zero-extension we only need at least one of the input operands to be zero extended for the result to also be zero extended. Differential Revision: https://reviews.llvm.org/D39078 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319289 91177308-0d34-0410-b5e6-96231b3b80d8