Revert "Revert "[AArch64][GlobalISel] Optimize conjunctions of compares to conditiona...
authorAmara Emerson <amara@apple.com>
Wed, 23 Feb 2022 00:33:18 +0000 (16:33 -0800)
committerAmara Emerson <amara@apple.com>
Wed, 23 Feb 2022 01:22:11 +0000 (17:22 -0800)
commitb661470bce1454f7e08c7efe932067a25737db7f
treedfc99286e0f43a81e3ab937f526409b2b269f031
parentcde658fa1f1449d2ec966b8c0df0444b882eb69f
Revert "Revert "[AArch64][GlobalISel] Optimize conjunctions of compares to conditional compares.""

This reverts commit 55c181a6c786cfbfa8b7aabe0a8ba721a65b1445.

The original commit I made was an old patch, mea culpa. Committing the right
implementation with test case for the reported crash.
llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/arm64-ccmp.ll