[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:
Jie Fu
2024-10-04 20:27:40 +08:00
parent 800b07396f
commit 1811e87204

View File

@@ -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";