diff options
author | Jie Fu <jiefu@tencent.com> | 2024-10-04 20:27:40 +0800 |
---|---|---|
committer | Jie Fu <jiefu@tencent.com> | 2024-10-04 20:27:40 +0800 |
commit | 1811e872042a32e28ec0956a8422780b176ef3a4 (patch) | |
tree | 2b4d14251875de6a4e488342b58999dd62acb728 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 800b07396ff54b037fa9b73bb15586456656fb79 (diff) | |
download | llvm-1811e872042a32e28ec0956a8422780b176ef3a4.zip llvm-1811e872042a32e28ec0956a8422780b176ef3a4.tar.gz llvm-1811e872042a32e28ec0956a8422780b176ef3a4.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index b56888a..57ff2c3 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -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"; |