diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-11-03 15:24:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-03 15:24:57 -0800 |
| commit | 6bc7be5efa3c3c84ed9d12b52d946b7b645699b9 (patch) | |
| tree | c3e8b5af4b8b9918128ee528a7cd8f75e3169382 /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | deb4ceb26351c25e9a1dade88a9f82c222a13a49 (diff) | |
| parent | b07232d95d2a98c53b74aca24e96cbab1f40f9ad (diff) | |
| download | rust-6bc7be5efa3c3c84ed9d12b52d946b7b645699b9.tar.gz rust-6bc7be5efa3c3c84ed9d12b52d946b7b645699b9.zip | |
Rollup merge of #132516 - taiki-e:asm-ui, r=workingjubilee
Add bad-reg inline assembly ui test for RISC-V and s390x https://github.com/rust-lang/rust/pull/131341#discussion_r1826555431 > Btw, such unsupported registers are present in most architectures, but only aarch64/arm64ec, x86_64, and not yet merged [sparc/sparc64](https://github.com/rust-lang/rust/pull/132472/files#diff-02aebda3376c2b020265137f9ce2c387669ca5cfecd7d60494275c2387db5114) (and powerpc/powerpc64 by this PR) currently have ui tests for them. I plan to add tests for other arches later. Starting with RISC-V and s390x, which I'm familiar with and relatively easy to check for correctness. (Relevant rustc code are supported_types/def_regs/overlapping_regs in [compiler/rustc_target/src/asm/riscv.rs](https://github.com/rust-lang/rust/blob/588a4203508ed7c76750c96b482641261630ed36/compiler/rustc_target/src/asm/riscv.rs) and [compiler/rustc_target/src/asm/s390x.rs](https://github.com/rust-lang/rust/blob/588a4203508ed7c76750c96b482641261630ed36/compiler/rustc_target/src/asm/s390x.rs).) r? workingjubilee `@rustbot` label +A-inline-assembly
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
