[GlobalISel][IRTranslator] Fix crash during translation of zero sized loads/stores/args/returns.
This fixes PR35358.
Differential D40604
[GlobalISel][IRTranslator] Fix crash during translation of zero sized loads and stores aemerson on Nov 29 2017, 7:49 AM. Authored by
Details [GlobalISel][IRTranslator] Fix crash during translation of zero sized loads/stores/args/returns. This fixes PR35358.
Diff Detail
Event Timeline
|
I'm not sure this is correct for the load. If the load result has a use then I'd expect -verify-machineinstrs to complain about a missing def. I think we need to emit an IMPLICIT_DEF.