authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2025-06-13 15:37:13-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-06-13 21:23:41-04:00
log3ce8d19f76690afe21b77651cffef9a9866cbf30
tree7bca58476e48b227b0754d9acf334d7aa0d5ad0f
parent095c956c5c72927f428db370c30add007706b83e

llvm.ir: fix subrange version

Closes #23898

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/zig/llvm/ir.zig+1-1
...@@ -1064,7 +1064,7 @@ pub const MetadataBlock = struct {...@@ -1064,7 +1064,7 @@ pub const MetadataBlock = struct {
1064 pub const Subrange = struct {1064 pub const Subrange = struct {
1065 pub const ops = [_]AbbrevOp{1065 pub const ops = [_]AbbrevOp{
1066 .{ .literal = @intFromEnum(MetadataCode.SUBRANGE) },1066 .{ .literal = @intFromEnum(MetadataCode.SUBRANGE) },
1067 .{ .literal = 0b10 }, // is distinct | version1067 .{ .literal = 0 | (2 << 1) }, // is distinct | version
1068 MetadataAbbrev, // count1068 MetadataAbbrev, // count
1069 MetadataAbbrev, // lower bound1069 MetadataAbbrev, // lower bound
1070 .{ .literal = 0 }, // upper bound1070 .{ .literal = 0 }, // upper bound