| ... | @@ -520,6 +520,7 @@ const DataLayoutBuilder = struct { | ... | @@ -520,6 +520,7 @@ const DataLayoutBuilder = struct { |
| 520 | .arm, | 520 | .arm, |
| 521 | .armeb, | 521 | .armeb, |
| 522 | .csky, | 522 | .csky, |
| | 523 | .loongarch32, |
| 523 | .mips, | 524 | .mips, |
| 524 | .mipsel, | 525 | .mipsel, |
| 525 | .powerpc, | 526 | .powerpc, |
| ... | @@ -535,6 +536,7 @@ const DataLayoutBuilder = struct { | ... | @@ -535,6 +536,7 @@ const DataLayoutBuilder = struct { |
| 535 | .amdgcn, | 536 | .amdgcn, |
| 536 | .bpfeb, | 537 | .bpfeb, |
| 537 | .bpfel, | 538 | .bpfel, |
| | 539 | .loongarch64, |
| 538 | .mips64, | 540 | .mips64, |
| 539 | .mips64el, | 541 | .mips64el, |
| 540 | .powerpc64, | 542 | .powerpc64, |
| ... | @@ -554,7 +556,6 @@ const DataLayoutBuilder = struct { | ... | @@ -554,7 +556,6 @@ const DataLayoutBuilder = struct { |
| 554 | .nvptx64, | 556 | .nvptx64, |
| 555 | => &.{ 16, 32, 64 }, | 557 | => &.{ 16, 32, 64 }, |
| 556 | .x86_64 => &.{ 8, 16, 32, 64 }, | 558 | .x86_64 => &.{ 8, 16, 32, 64 }, |
| 557 | .loongarch64 => &.{64}, | | |
| 558 | else => &.{}, | 559 | else => &.{}, |
| 559 | }), 0..) |natural, index| switch (index) { | 560 | }), 0..) |natural, index| switch (index) { |
| 560 | 0 => try writer.print("-n{d}", .{natural}), | 561 | 0 => try writer.print("-n{d}", .{natural}), |