Start defining AMDGPU legalize rules for G_TRUNC.
Details
Diff Detail
Event Timeline
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir | ||
---|---|---|
64 | Test still worthwhile having given it's now just a scalar artifact combine? |
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir | ||
---|---|---|
64 | I'm not even sure this patch is the right way to go. I'm still not 100% sure how to get the artifacts into the end state I want while maintaining valid MIR at every step. I had to drop this patch and make all vector truncates legal to get my G_BUILD_VECTOR lowerings to not infinite loop. Declaring every vector truncate legal almost kind of works assuming every use is legalized, but fails in some degenerate cases (like an implicit use on a target instruction) |
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir | ||
---|---|---|
64 | Maybe not, I'm still seeing some of these loops in another one of my branches |
Test still worthwhile having given it's now just a scalar artifact combine?