diff options
| author | bors <bors@rust-lang.org> | 2024-10-13 03:59:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-13 03:59:00 +0000 |
| commit | ecf2d1fa4bd8166c696883b10f483122b1fe98a3 (patch) | |
| tree | 18c963c7b385d49172e31bf764ced45026b90feb /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | ef4e8259b5016d85e261587b605028b2ff06c13d (diff) | |
| parent | 39071fdc586adccf18c01e5e3a1faa39bbc00c3a (diff) | |
| download | rust-ecf2d1fa4bd8166c696883b10f483122b1fe98a3.tar.gz rust-ecf2d1fa4bd8166c696883b10f483122b1fe98a3.zip | |
Auto merge of #131635 - tgross35:rollup-df8il2t, r=tgross35
Rollup of 7 pull requests Successful merges: - #131120 (Stabilize `const_option`) - #131334 (Enable sanitizers for loongarch64-unknown-*) - #131358 (force "HEAD" for non-CI and `git_upstream_merge_base` for CI environment) - #131418 (Use throw intrinsic from stdarch in wasm libunwind) - #131579 (Remap path prefix in the panic message of `tests/ui/meta/revision-bad.rs`) - #131591 (add latest crash tests) - #131626 (remove a couple of redundant String to String conversion) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/asm.rs | 2 |
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 82ca3f519f7..298cac2fd6e 100644 --- a/compiler/rustc_codegen_llvm/src/asm.rs +++ b/compiler/rustc_codegen_llvm/src/asm.rs @@ -154,7 +154,7 @@ impl<'ll, 'tcx> AsmBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> { // We prefer the latter because it matches the behavior of // Clang. if late && matches!(reg, InlineAsmRegOrRegClass::Reg(_)) { - constraints.push(reg_to_llvm(reg, Some(&in_value.layout)).to_string()); + constraints.push(reg_to_llvm(reg, Some(&in_value.layout))); } else { constraints.push(format!("{}", op_idx[&idx])); } |
