HomePhabricator

[AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own function

Authored by paquette on Feb 5 2020, 11:32 AM.

Description

[AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own function

Factor it out into emitTestBit and add some asserts to the new function.

This will be useful for implementing TB(N)Z emission for SLT/SGT compares.

Differential Revision: https://reviews.llvm.org/D74080