diff options
| author | Travis Staloch <twostepted@gmail.com> | 2021-09-10 15:41:43 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-28 17:03:43 -0700 |
| commit | 68050852fac6940d04e15900f135e6fc88845f9b (patch) | |
| tree | 2e5a7e588bcb2b5354e2b9a027711513949e6f4f | |
| parent | fd8383545adc5f202e8098bd13b3bda3481ad235 (diff) | |
| download | zig-68050852fac6940d04e15900f135e6fc88845f9b.tar.gz zig-68050852fac6940d04e15900f135e6fc88845f9b.zip | |
sat-arithmetic: minor formatting changes
| -rw-r--r-- | lib/std/zig/Ast.zig | 2 | ||||
| -rw-r--r-- | src/codegen/llvm.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/zig/Ast.zig b/lib/std/zig/Ast.zig index 3632551d17..b69da459d3 100644 --- a/lib/std/zig/Ast.zig +++ b/lib/std/zig/Ast.zig @@ -2577,7 +2577,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, diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 733984a9d6..cdd19146b5 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -1256,7 +1256,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), |
