llvm.org GIT mirror llvm / 6dff9d7
[MFProperties] Introduce a FailedISel property. This is used to communicate that the instruction selection pipeline failed at some point. Another way to achieve that would be to have some kind of conditional scheduling in the PassManager, such that we only schedule a pass based on the success/failure of another one. The property approach has the advantage of being lightweight and solve the problem at stake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279885 91177308-0d34-0410-b5e6-96231b3b80d8 Quentin Colombet 4 years ago
2 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
118118 NoPHIs,
119119 TracksLiveness,
120120 NoVRegs,
121 FailedISel,
121122 Legalized,
122123 RegBankSelected,
123124 Selected,
5656 static const char *getPropertyName(MachineFunctionProperties::Property Prop) {
5757 typedef MachineFunctionProperties::Property P;
5858 switch(Prop) {
59 case P::FailedISel: return "FailedISel";
5960 case P::IsSSA: return "IsSSA";
6061 case P::Legalized: return "Legalized";
6162 case P::NoPHIs: return "NoPHIs";