This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add a G_LROUND instruction
ClosedPublic

Authored by paquette on Aug 19 2021, 3:44 PM.

Details

Summary

Meant to represent the @llvm.lround.* family.

Add the opcode, docs, and verification.

Diff Detail

Event Timeline

paquette created this revision.Aug 19 2021, 3:44 PM
paquette requested review of this revision.Aug 19 2021, 3:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2021, 3:44 PM
Herald added a subscriber: wdng. · View Herald Transcript
This revision is now accepted and ready to land.Aug 19 2021, 3:53 PM
aemerson accepted this revision.Aug 19 2021, 3:53 PM
This revision was landed with ongoing or failed builds.Aug 19 2021, 5:06 PM
This revision was automatically updated to reflect the committed changes.

What about llvm.llround? Which is silly hack for llvm not knowing the size of long and long long.

That one is next on my list!