HomePhabricator

AMDGPU: Use caller subtarget, not intrinsic declaration

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

Description

AMDGPU: Use caller subtarget, not intrinsic declaration

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.

Details

Committed
arsenmAug 27 2020, 1:42 PM
Parents
rG201f770f16e8: GlobalISel: Add and_trivial_mask to all_combines
Branches
Unknown
Tags
Unknown