This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][NFC] Remove unnecessary code
ClosedPublic

Authored by dp on Jul 14 2022, 5:58 AM.

Details

Summary

validateCoherencyBits is called twice.

Diff Detail

Event Timeline

dp created this revision.Jul 14 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 5:58 AM
dp requested review of this revision.Jul 14 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 5:58 AM
dp added inline comments.Jul 14 2022, 6:00 AM
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
4611

Coherency bits have already been validated here.

foad accepted this revision.Jul 14 2022, 6:11 AM

Looks obvious.

This revision is now accepted and ready to land.Jul 14 2022, 6:11 AM
This revision was landed with ongoing or failed builds.Jul 15 2022, 3:18 AM
This revision was automatically updated to reflect the committed changes.