This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add G_LLROUND
ClosedPublic

Authored by paquette on Aug 19 2021, 5:43 PM.

Details

Summary

Basically the same as G_LROUND. Handles the llvm.llround family of intrinsics.

Also add a helper function to the MachineVerifier for checking if all of the (virtual register) operands of an instruction are scalars. Seems like a useful thing to have.

Diff Detail

Event Timeline

paquette created this revision.Aug 19 2021, 5:43 PM
paquette requested review of this revision.Aug 19 2021, 5:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2021, 5:43 PM
Herald added a subscriber: wdng. · View Herald Transcript
This revision is now accepted and ready to land.Aug 20 2021, 9:45 AM
This revision was automatically updated to reflect the committed changes.