Skip to content

Commit

Permalink
sat-arithmetic: minor formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
travisstaloch committed Sep 10, 2021
1 parent c072409 commit 4a8f2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/std/zig/Ast.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ pub const Node = struct {
array_mult,
/// `lhs *% rhs`. main_token is the `*%`.
mul_wrap,
/// `lhs *| rhs`. main_token is the `*%`.
/// `lhs *| rhs`. main_token is the `*|`.
mul_sat,
/// `lhs + rhs`. main_token is the `+`.
add,
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/llvm.zig
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ pub const FuncGen = struct {
.xor => try self.airXor(inst),

.shl => try self.airShl(inst, false),
.shl_sat => try self.airShl(inst, true),
.shl_sat => try self.airShl(inst, true),
.shr => try self.airShr(inst),

.cmp_eq => try self.airCmp(inst, .eq),
Expand Down

0 comments on commit 4a8f2c5

Please sign in to comment.