Skip to content

Commit 37e717e

Browse files
committed
TableGen/GlobalISel: Fix using wrong type for instruction flags
09515f2 increased the size of the MachineInstr flags from uint16_t to uint32_t, so change TableGen to match.
1 parent 1a65d95 commit 37e717e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ enum {
5555
GISF_IgnoreCopies = 0x1,
5656
};
5757

58-
using GISelFlags = std::uint16_t;
58+
using GISelFlags = std::uint32_t;
5959

6060
//===- Helper functions ---------------------------------------------------===//
6161

0 commit comments

Comments
 (0)