OSDN Git Service

GlobalISel: simplify G_ICMP legalization regime.
authorTim Northover <tnorthover@apple.com>
Fri, 26 Aug 2016 17:46:17 +0000 (17:46 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 26 Aug 2016 17:46:17 +0000 (17:46 +0000)
commit75d2e48802809b597061eff0b917714c0073158c
tree529368103e9c106a62c7b4b9cd112d7557a83f97
parentb04cf870a60b5819045065b7c136d1725765389f
GlobalISel: simplify G_ICMP legalization regime.

It's unclear how the old

    %res(32) = G_ICMP { s32, s32 } intpred(eq), %0, %1

is actually different from an s1 verison

    %res(1) = G_ICMP { s1, s32 } intpred(eq), %0, %1

so we'll remove it for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279843 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/MachineLegalizeHelper.cpp
lib/Target/AArch64/AArch64MachineLegalizer.cpp
test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir