aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-10-04 13:55:35 +0100
committerStephen Tozer <stephen.tozer@sony.com>2024-10-04 13:58:29 +0100
commitb01be72af0001991400b1e9adaecafd7c4e02d2b (patch)
tree8d87b474262f7e7c03b229527669eb2594b5638f /llvm/lib/CodeGen/MachineFunction.cpp
parent02debcef12793b5bf926a41a24ede18dc50eb18b (diff)
downloadllvm-b01be72af0001991400b1e9adaecafd7c4e02d2b.zip
llvm-b01be72af0001991400b1e9adaecafd7c4e02d2b.tar.gz
llvm-b01be72af0001991400b1e9adaecafd7c4e02d2b.tar.bz2
[NFC][CodeGen] Remove unused HasFakeUses MachineFunctionProperty
A previous commit d826b0c9 accidentally added a new MachineFunctionProperty, HasFakeUses, that was unused by the commit (and results in an uncovered-switch warning, which was fixed by a separate followup 1811e872); this patch removes that enum value.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 57ff2c3..b56888a 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -94,7 +94,6 @@ 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";