diff options
| author | Laurențiu Nicola <lnicola@users.noreply.github.com> | 2025-02-17 12:30:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-17 12:30:13 +0000 |
| commit | 0c9c489355a25ad6c89f6b009743a780b2ac97bd (patch) | |
| tree | 7dc4e427cc53a909fe61c9f68086084073a58fff /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | 2a0d16f3c481cdf28366f88d3824f4a30ff806c9 (diff) | |
| parent | 952bfae057206f01c3afd126752389eef353b56a (diff) | |
| download | rust-0c9c489355a25ad6c89f6b009743a780b2ac97bd.tar.gz rust-0c9c489355a25ad6c89f6b009743a780b2ac97bd.zip | |
Merge pull request #19169 from lnicola/sync-from-rust
minor: Sync from downstream
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/asm.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/asm.rs b/compiler/rustc_codegen_llvm/src/asm.rs index 3722d4350a2..be5673eddf9 100644 --- a/compiler/rustc_codegen_llvm/src/asm.rs +++ b/compiler/rustc_codegen_llvm/src/asm.rs @@ -286,7 +286,9 @@ impl<'ll, 'tcx> AsmBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> { InlineAsmArch::M68k => { constraints.push("~{ccr}".to_string()); } - InlineAsmArch::CSKY => {} + InlineAsmArch::CSKY => { + constraints.push("~{psr}".to_string()); + } } } if !options.contains(InlineAsmOptions::NOMEM) { |
