This is an archive of the discontinued LLVM Phabricator instance.

MachineMemOperand: Don't crash when printing custom source values
AbandonedPublic

Authored by nhaehnle on Mar 27 2018, 6:59 AM.

Details

Summary

Just print out a really obvious explanation of what's wrong.

This won't help with actual MIR, but fixes selection DAG debug output.

Fixes: r327580, D42377

Diff Detail

Event Timeline

nhaehnle created this revision.Mar 27 2018, 6:59 AM

Sorry for breaking this. There is already a patch here: https://reviews.llvm.org/D44871.

nhaehnle abandoned this revision.Mar 27 2018, 8:39 AM

That looks more thorough than my quick hack. Dropping this one.