about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2025-01-09 20:35:49 +0800
committerWANG Rui <wangrui@loongson.cn>2025-06-06 08:19:38 +0800
commit38d69c3f571b668c82cfb90e5bea8bc86530530c (patch)
treea6b1ae20233141b514e18836d7efd1534dda5283 /compiler/rustc_codegen_llvm/src/asm.rs
parent27f8efbae2bf906ea6f967dd3fe1eb0e7faf3a2e (diff)
downloadrust-38d69c3f571b668c82cfb90e5bea8bc86530530c.tar.gz
rust-38d69c3f571b668c82cfb90e5bea8bc86530530c.zip
Add new Tier-3 targets: `loongarch32-unknown-none*`
MCP: https://github.com/rust-lang/compiler-team/issues/865
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/asm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/asm.rs b/compiler/rustc_codegen_llvm/src/asm.rs
index 9e3893d5314..4185aef8b31 100644
--- a/compiler/rustc_codegen_llvm/src/asm.rs
+++ b/compiler/rustc_codegen_llvm/src/asm.rs
@@ -251,7 +251,7 @@ impl<'ll, 'tcx> AsmBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> {
                 InlineAsmArch::Nvptx64 => {}
                 InlineAsmArch::PowerPC | InlineAsmArch::PowerPC64 => {}
                 InlineAsmArch::Hexagon => {}
-                InlineAsmArch::LoongArch64 => {
+                InlineAsmArch::LoongArch32 | InlineAsmArch::LoongArch64 => {
                     constraints.extend_from_slice(&[
                         "~{$fcc0}".to_string(),
                         "~{$fcc1}".to_string(),