This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Remove hint instructions in generic InstructionSelect code.
ClosedPublic

Authored by paquette on Jan 28 2021, 5:05 PM.

Details

Summary

I think every target will want to remove these in the same way. Rather than making them all implement the same code, let's just put this in InstructionSelect.

Diff Detail

Event Timeline

paquette created this revision.Jan 28 2021, 5:05 PM
paquette requested review of this revision.Jan 28 2021, 5:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2021, 5:05 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Jan 28 2021, 6:48 PM
llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
138–139

This assert seems pointless

140

I think this is just noise printing

paquette updated this revision to Diff 320156.Jan 29 2021, 9:44 AM
  • Remove noisy debug output
  • Remove assert
arsenm accepted this revision.Jan 29 2021, 9:58 AM
This revision is now accepted and ready to land.Jan 29 2021, 9:58 AM