This may occur when swifterror codegen in the translator generates these, but we shouldn't try to handle them since they should have regclasses anyway.
rdar://75784009
Differential D99287
[GlobalISel] Fix crash in RBS with a non-generic IMPLICIT_DEF. aemerson on Mar 24 2021, 11:31 AM. Authored by
Details This may occur when swifterror codegen in the translator generates these, but we shouldn't try to handle them since they should have regclasses anyway. rdar://75784009
Diff Detail
Unit Tests Event TimelineComment Actions Update x86 RBS test. For some reason it was using the non-generic IMPLICIT_DEF when it should be using the generic one.
Comment Actions LGTM. Kind of weird that we create normal IMPLICIT_DEFs in the IRTranslator though? I guess it's code shared with SDAG. Comment Actions This falls under “already selected” code, and should have regclasses. The intention AFAIK is for GISel to allow targets to preselect code at any point in the pipeline. Comment Actions It should work, but it doesn't mean it's the best idea to use (especially for a "generic" instruction that has a direct "generic generic" instruction) |
How did this get past the isPreIselOpcode check (same with asm)?