This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use caller subtarget, not intrinsic declaration
ClosedPublic

Authored by arsenm on Aug 27 2020, 8:16 AM.

Details

Reviewers
rampitec
Summary

Intrinsic declarations use the default subtarget, but this should be
using the subtarget for the calling function. I haven't been able to
come up with a case where it matters though.

Diff Detail

Event Timeline

arsenm created this revision.Aug 27 2020, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2020, 8:16 AM
arsenm requested review of this revision.Aug 27 2020, 8:16 AM
This revision is now accepted and ready to land.Aug 27 2020, 10:25 AM