From 697f5408f6a0c6c39df0d97c2ce7b092cb0fc58f Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 25 Jul 2021 07:05:07 -0700 Subject: [PATCH] [GlobalISel] Remove FlagsOp (NFC) The class was introduced without a use on Dec 11, 2018 in commit cef44a234219e38e1c28c902ff24586150eef682. --- include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h index 61928e4aaa6..9b652d8e16b 100644 --- a/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h +++ b/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h @@ -205,14 +205,6 @@ private: SrcType Ty; }; -class FlagsOp { - Optional Flags; - -public: - explicit FlagsOp(unsigned F) : Flags(F) {} - FlagsOp() : Flags(None) {} - Optional getFlags() const { return Flags; } -}; /// Helper class to build MachineInstr. /// It keeps internally the insertion point and debug location for all /// the new instructions we want to create.