Module rustc_hir_analysis::hir_ty_lowering::cmse

source ยท

Functionsยง

  • cmse_layout_err ๐Ÿ”’
  • Returns whether the inputs will fit into the available registers
  • Returns whether the output will fit into the available registers
  • Check conditions on inputs and outputs that the cmse ABIs impose: arguments and results MUST be returned via registers (i.e. MUST NOT spill to the stack). LLVM will also validate these conditions, but by checking them here rustc can emit nicer error messages.