This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Combines for V_CVT_F32_UBYTE[0-3]
ClosedPublic

Authored by arsenm on Mar 29 2020, 10:40 AM.

Details

Summary

Ports the existing DAG combines, minus the simplify demanded bits
which seems to have no equivalent now. Without these, this isn't
particularly helpful in most of the IR sample cases.

Diff Detail

Event Timeline

arsenm created this revision.Mar 29 2020, 10:40 AM
kerbowa accepted this revision.Apr 13 2020, 3:18 PM
kerbowa added inline comments.
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir
596

Should this be 17?

This revision is now accepted and ready to land.Apr 13 2020, 3:18 PM