Skip to content

Commit b01be72

Browse files
committed
[NFC][CodeGen] Remove unused HasFakeUses MachineFunctionProperty
A previous commit d826b0c 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 1811e87); this patch removes that enum value.
1 parent 02debce commit b01be72

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

llvm/include/llvm/CodeGen/MachineFunction.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ class MachineFunctionProperties {
187187
TiedOpsRewritten,
188188
FailsVerification,
189189
TracksDebugUserValues,
190-
HasFakeUses,
191190
LastProperty = TracksDebugUserValues,
192191
};
193192

llvm/lib/CodeGen/MachineFunction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ static const char *getPropertyName(MachineFunctionProperties::Property Prop) {
9494
// clang-format off
9595
switch(Prop) {
9696
case P::FailedISel: return "FailedISel";
97-
case P::HasFakeUses: return "HasFakeUses";
9897
case P::IsSSA: return "IsSSA";
9998
case P::Legalized: return "Legalized";
10099
case P::NoPHIs: return "NoPHIs";

0 commit comments

Comments
 (0)