This is an archive of the discontinued LLVM Phabricator instance.

SelectionDAG, MI, AArch64: Widen target flags fields/arguments from unsigned char to unsigned.
ClosedPublic

Authored by pcc on Jul 30 2019, 11:53 AM.

Details

Summary

This makes the field wider than MachineOperand::SubReg_TargetFlags so that
we don't end up silently truncating any higher bits. We should still catch
any bits truncated from the MachineOperand field as a consequence of the
assertion in MachineOperand::setTargetFlags().

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jul 30 2019, 11:53 AM
This revision is now accepted and ready to land.Jul 31 2019, 2:08 AM
This revision was automatically updated to reflect the committed changes.