This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix verifier error on splatted opencl fmin/fmax and ldexp calls
ClosedPublic

Authored by arsenm on Aug 16 2023, 6:35 AM.

Details

Reviewers
rampitec
kzhuravl
ronlieb
Group Reviewers
Restricted Project
Summary

Apparently the spec has overloads for fmin/fmax and ldexp with one of
the operands as scalar. We need to broadcast the scalars to the vector
type.

Diff Detail