This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use exp2 and log2 intrinsics directly for f16/f32
ClosedPublic

Authored by arsenm on Aug 28 2023, 8:24 AM.

Details

Reviewers
rampitec
jmmartinez
Group Reviewers
Restricted Project
Summary

These codegen correctly but f64 doesn't. This prevents losing fast
math flags on the way to the underlying intrinsic.

Diff Detail