This is an archive of the discontinued LLVM Phabricator instance.

[MachineInstr] Use unsigned int for opcode (NFC)
ClosedPublic

Authored by cdevadas on Oct 4 2022, 4:24 AM.

Details

Summary

The opcode field in most places uses unsigned type.
InstrInfoEmitter still uses signed int for the
custom opcodes like CFSetupOpcode.

Diff Detail

Event Timeline

cdevadas created this revision.Oct 4 2022, 4:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 4:24 AM
cdevadas requested review of this revision.Oct 4 2022, 4:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 4:24 AM
arsenm accepted this revision.Oct 4 2022, 10:48 AM
This revision is now accepted and ready to land.Oct 4 2022, 10:48 AM
This revision was landed with ongoing or failed builds.Oct 7 2022, 5:45 AM
This revision was automatically updated to reflect the committed changes.