These can just be deleted, since they're just stores of undefined values.
This is equivalent to what the DAGCombiner does. It's better to do this later than earlier to make sure we handle any implicit defs introduced during legalization.
Differential D77250
[GlobalISel][AArch64] Early select stores which have G_IMPLICIT_DEF as the value paquette on Apr 1 2020, 3:58 PM. Authored by
Details
These can just be deleted, since they're just stores of undefined values. This is equivalent to what the DAGCombiner does. It's better to do this later than earlier to make sure we handle any implicit defs introduced during legalization.
Diff Detail Event TimelineComment Actions This could go into a post-legalizer combiner. Maybe we should add one and run it at optimization modes? Comment Actions I think that's a good idea for this sort of thing. We could also move all of the other G_IMPLICIT_DEF-related combines there, since they're more likely to catch things there. |