This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Use getShortOpcodeArith in X86MCPlusBuilder
ClosedPublic

Authored by Amir on Mar 10 2022, 12:23 PM.

Details

Summary

Unify llvm::X86::getRelaxedOpcodeArith and getShortArithOpcode in
X86MCPlusBuilder.cpp.

Addresses https://lists.llvm.org/pipermail/llvm-dev/2022-January/154526.html

Diff Detail

Event Timeline

Amir created this revision.Mar 10 2022, 12:23 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir published this revision for review.Mar 10 2022, 2:28 PM

Pre-merge checks fail because they don't pick up parent diff D121402. Build and tests pass locally.

Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 2:28 PM
This revision is now accepted and ready to land.Mar 11 2022, 5:38 PM
This revision was landed with ongoing or failed builds.Mar 12 2022, 9:07 AM
This revision was automatically updated to reflect the committed changes.