[all-commits] [llvm/llvm-project] fd9f1f: [AVR] Remove earlyclobber from LDDRdPtrQ (#85277)

Patryk Wychowaniec via All-commits all-commits at lists.llvm.org
Tue Mar 19 13:15:17 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fd9f1faf8fcb0308b369f9acec3a56e42381a025
      https://github.com/llvm/llvm-project/commit/fd9f1faf8fcb0308b369f9acec3a56e42381a025
  Author: Patryk Wychowaniec <pwychowaniec at pm.me>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AVR/AVRInstrInfo.td
    A llvm/test/CodeGen/AVR/bug-81911.ll

  Log Message:
  -----------
  [AVR] Remove earlyclobber from LDDRdPtrQ (#85277)

LDDRdPtrQ was marked as `earlyclobber`, which doesn't play well with
GreedyRA (which can generate this instruction through `loadRegFromStackSlot()`).

This seems to be the same case as:

https://github.com/llvm/llvm-project/blob/a99b912c9b74f6ef91786b4dfbc25160c27d3b41/llvm/lib/Target/AVR/AVRInstrInfo.td#L1421

Closes https://github.com/llvm/llvm-project/issues/81911.



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