[AArch64][GlobalISel] Fix G_SELECT legalization fallback after r366943.
authorAmara Emerson <aemerson@apple.com>
Thu, 25 Jul 2019 21:44:52 +0000 (21:44 +0000)
committerAmara Emerson <aemerson@apple.com>
Thu, 25 Jul 2019 21:44:52 +0000 (21:44 +0000)
commite54dc6b8b58d7b94c2737adb941c25fea54b6a70
tree352d4a3a79f54c2707521c2295cf93a94df3b7dd
parent2b6afdf71046735671405902ae77b08874cd1d76
[AArch64][GlobalISel] Fix G_SELECT legalization fallback after r366943.

Changes the order of legalization of G_ICMP suggested by Petar in D65079.

llvm-svn: 367060
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir