Skip to content

Commit 3ce8d19

Browse files
jacobly0andrewrk
authored andcommitted
llvm.ir: fix subrange version
Closes #23898
1 parent 095c956 commit 3ce8d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/zig/llvm/ir.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ pub const MetadataBlock = struct {
10641064
pub const Subrange = struct {
10651065
pub const ops = [_]AbbrevOp{
10661066
.{ .literal = @intFromEnum(MetadataCode.SUBRANGE) },
1067-
.{ .literal = 0b10 }, // is distinct | version
1067+
.{ .literal = 0 | (2 << 1) }, // is distinct | version
10681068
MetadataAbbrev, // count
10691069
MetadataAbbrev, // lower bound
10701070
.{ .literal = 0 }, // upper bound

0 commit comments

Comments
 (0)