This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add llvm.amdgcn.log intrinsic
ClosedPublic

Authored by arsenm on Jun 12 2023, 4:27 AM.

Details

Reviewers
foad
rampitec
Pierre-vh
cdevadas
jhuber6
Group Reviewers
Restricted Project
Summary

This will map directly to the hardware instruction which does not
handle denormals for f32. This will allow moving the generic intrinsic
to be lowered correctly. Also handles selecting the f16 version, but
there's no reason to use it over the generic intrinsic.

Diff Detail

Event Timeline

arsenm created this revision.Jun 12 2023, 4:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 4:27 AM
arsenm requested review of this revision.Jun 12 2023, 4:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 4:27 AM
Herald added a subscriber: wdng. · View Herald Transcript
foad accepted this revision.Jun 12 2023, 5:17 AM

Seems fine.

This revision is now accepted and ready to land.Jun 12 2023, 5:17 AM