[CodeGen] Fix enumeration value 'HasFakeUses' not handled in switch (NFC)
llvm-project/llvm/lib/CodeGen/MachineFunction.cpp:95:10:
error: enumeration value 'HasFakeUses' not handled in switch [-Werror,-Wswitch]
switch(Prop) {
^~~~
1 error generated.
This commit is contained in:
@@ -94,6 +94,7 @@ static const char *getPropertyName(MachineFunctionProperties::Property Prop) {
|
||||
// clang-format off
|
||||
switch(Prop) {
|
||||
case P::FailedISel: return "FailedISel";
|
||||
case P::HasFakeUses: return "HasFakeUses";
|
||||
case P::IsSSA: return "IsSSA";
|
||||
case P::Legalized: return "Legalized";
|
||||
case P::NoPHIs: return "NoPHIs";
|
||||
|
||||
Reference in New Issue
Block a user