OSDN Git Service

[SystemZ] Properly check number of operands in getCmpOpsType()
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 3 May 2017 13:33:45 +0000 (13:33 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 3 May 2017 13:33:45 +0000 (13:33 +0000)
commit0441b20083c0080e3b03198388ea9c8ceb6650c2
treeba5ab04bd3db713c42f746a988229038dcb6a2b8
parent5bbf1b2a547db8e97118a4aff0e1958b0349eccc
[SystemZ]  Properly check number of operands in getCmpOpsType()

It is needed to check that the number of operands are 2 when
finding the case of a logic combination, e.g. 'and' of two compares.

Review: Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302022 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp