authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-03-18 22:54:59-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-03-18 22:54:59-07:00
logabdbc11c7efb2f83804af64ac2fec10b972cdf2a
treed2fd1e951676696e8c682fd28ea07bae0007f107
parentbd2154da3d90daa4520ee7ef69dac42f9049ed92

stage2: codegen: update asm IR to new names


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

src/codegen.zig+3-3
......@@ -2762,7 +2762,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
27622762 return self.fail(inst.base.src, "TODO implement support for more arm assembly instructions", .{});
27632763 }
27642764
2765 if (inst.output) |output| {
2765 if (inst.output_name) |output| {
27662766 if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') {
27672767 return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output});
27682768 }
......@@ -2794,7 +2794,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
27942794 return self.fail(inst.base.src, "TODO implement support for more aarch64 assembly instructions", .{});
27952795 }
27962796
2797 if (inst.output) |output| {
2797 if (inst.output_name) |output| {
27982798 if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') {
27992799 return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output});
28002800 }
......@@ -2824,7 +2824,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
28242824 return self.fail(inst.base.src, "TODO implement support for more riscv64 assembly instructions", .{});
28252825 }
28262826
2827 if (inst.output) |output| {
2827 if (inst.output_name) |output| {
28282828 if (output.len < 4 or output[0] != '=' or output[1] != '{' or output[output.len - 1] != '}') {
28292829 return self.fail(inst.base.src, "unrecognized asm output constraint: '{s}'", .{output});
28302830 }