[all-commits] [llvm/llvm-project] 60b168: [AVR] Simplify SPWRITE on XMEGA (#147210)

Tom Vijlbrief via All-commits all-commits at lists.llvm.org
Sun Jul 13 18:40:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60b168c1469730a6db915d0ece38bc9088e2034b
      https://github.com/llvm/llvm-project/commit/60b168c1469730a6db915d0ece38bc9088e2034b
  Author: Tom Vijlbrief <tvijlbrief at gmail.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
    A llvm/test/CodeGen/AVR/pseudo/SPWRITE.mir

  Log Message:
  -----------
  [AVR] Simplify SPWRITE on XMEGA (#147210)

It is unnecessary to disable/restore interrupt when writing to the SPH/SPL
pair on XMEGA devices, as the manual indicates:

```
To prevent corruption when updating the stack pointer from software,
a write to SPL will automatically disable interrupts for up to four instructions
or until the next I/O memory write.
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list