The AssertZext we might see in this case is only giving information about the lower 32 bits. It isn't providing information about the upper 32 bits. So we should emit a zext.
This fixes PR28540.
Differential D37729
[X86] Make sure we still emit zext for GR32 to GR64 when the source of the zext is AssertZext craig.topper on Sep 11 2017, 8:28 PM. Authored by
Details The AssertZext we might see in this case is only giving information about the lower 32 bits. It isn't providing information about the upper 32 bits. So we should emit a zext. This fixes PR28540.
Diff Detail
Event Timeline |