Commit 27dad11ef1
Changed files (1)
src
arch
x86_64
src/arch/x86_64/CodeGen.zig
@@ -5654,7 +5654,6 @@ fn genInlineMemcpyRegisterRegister(
const abi_size = @intCast(u32, ty.abiSize(self.target.*));
- // TODO common code-path with genSetStack, refactor!
if (!math.isPowerOfTwo(abi_size)) {
const tmp_reg = try self.copyToTmpRegister(ty, .{ .register = src_reg });