Page MenuHomePhabricator

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

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

Details

Summary

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.

Diff Detail

Event Timeline

paquette created this revision.Feb 5 2020, 11:36 AM
aemerson accepted this revision.Feb 5 2020, 2:22 PM

LGTM.

llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
1135

type smaler

This revision is now accepted and ready to land.Feb 5 2020, 2:22 PM
This revision was automatically updated to reflect the committed changes.