1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[GlobalISel] Remove FlagsOp (NFC)

The class was introduced without a use on Dec 11, 2018 in commit
cef44a234219e38e1c28c902ff24586150eef682.
This commit is contained in:
Kazu Hirata 2021-07-25 07:05:07 -07:00
parent 3e06079a92
commit 697f5408f6

View File

@ -205,14 +205,6 @@ private:
SrcType Ty;
};
class FlagsOp {
Optional<unsigned> Flags;
public:
explicit FlagsOp(unsigned F) : Flags(F) {}
FlagsOp() : Flags(None) {}
Optional<unsigned> 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.