diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-10 21:15:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 21:15:42 +0100 |
| commit | cb0fb246d55bf5f4afc73becbc0844522a3126de (patch) | |
| tree | 94eb62d191f5e6f82f363051ef333fb6d9710da7 /compiler/rustc_codegen_llvm/src | |
| parent | 35a0961bbc8fba75bb863c7835b39d431ad9fc5d (diff) | |
| parent | 52f7a218fb496aefb2364ccc508556c45df47e7f (diff) | |
| download | rust-cb0fb246d55bf5f4afc73becbc0844522a3126de.tar.gz rust-cb0fb246d55bf5f4afc73becbc0844522a3126de.zip | |
Rollup merge of #105798 - Amanieu:relax-asm, r=joshtriplett
Relax ordering rules for `asm!` operands The `asm!` and `global_asm!` macros require their operands to appear strictly in the following order: - Template strings - Positional operands - Named operands - Explicit register operands - `clobber_abi` - `options` This is overly strict and can be inconvienent when building complex `asm!` statements with macros. This PR relaxes the ordering requirements as follows: - Template strings must still come before all other operands. - Positional operands must still come before named and explicit register operands. - Named and explicit register operands can be freely mixed. - `options` and `clobber_abi` can appear in any position after the template strings. r? ```````@joshtriplett```````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
