AMDGPU: Fix creating illegal f16 fp_class
We were missing legality checks. The device library build was broken for targets without f16 support. Technically the first pattern isn't tested by this patch; it only triggers with the isBeforeLegalize check in performAndCombine removed. I'm not sure how to trick this into appearing post-legalization.
Loading
Please sign in to comment