Skip to content

Commit fc55604

Browse files
committed
target: support scalable vectors on arm64ec
This architecture is also AArch64, just with a different ABI, and so supports scalable vectors too.
1 parent c753cef commit fc55604

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • compiler/rustc_target/src/spec

compiler/rustc_target/src/spec/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,8 +1957,8 @@ impl Arch {
19571957
use Arch::*;
19581958

19591959
match self {
1960-
AArch64 | RiscV32 | RiscV64 => true,
1961-
AmdGpu | Arm | Arm64EC | Avr | Bpf | CSky | Hexagon | LoongArch32 | LoongArch64
1960+
Arm64EC | AArch64 | RiscV32 | RiscV64 => true,
1961+
AmdGpu | Arm | Avr | Bpf | CSky | Hexagon | LoongArch32 | LoongArch64
19621962
| M68k | Mips | Mips32r6 | Mips64 | Mips64r6 | Msp430 | Nvptx64 | PowerPC
19631963
| PowerPC64 | S390x | Sparc | Sparc64 | SpirV | Wasm32 | Wasm64 | X86 | X86_64
19641964
| Xtensa | Other(_) => false,

0 commit comments

Comments
 (0)