Page MenuHomePhabricator

[AArch64][GlobalISel] Fix TBNZ/TBZ opcode selection
ClosedPublic

Authored by paquette on Jan 29 2020, 12:54 PM.

Details

Summary

When the bit is <= 32, we have to use the W register variant for TB(N)Z.

This is because of the way the instruction is encoded.

Diff Detail

Event Timeline

paquette created this revision.Jan 29 2020, 12:54 PM
aemerson accepted this revision.Jan 29 2020, 1:00 PM

LGTM.

This revision is now accepted and ready to land.Jan 29 2020, 1:00 PM
This revision was automatically updated to reflect the committed changes.