llvm.ir: fix subrange version

Closes #23898
This commit is contained in:
Jacob Young 2025-06-13 15:37:13 -04:00 committed by Andrew Kelley
parent 095c956c5c
commit 3ce8d19f76

View File

@ -1064,7 +1064,7 @@ pub const MetadataBlock = struct {
pub const Subrange = struct {
pub const ops = [_]AbbrevOp{
.{ .literal = @intFromEnum(MetadataCode.SUBRANGE) },
.{ .literal = 0b10 }, // is distinct | version
.{ .literal = 0 | (2 << 1) }, // is distinct | version
MetadataAbbrev, // count
MetadataAbbrev, // lower bound
.{ .literal = 0 }, // upper bound