[PATCH] D133636: [M68k] Fix the crash of fast register allocator

Sheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 23:49:41 PDT 2022


0x59616e created this revision.
0x59616e added reviewers: myhsu, RKSimon, ricky26.
Herald added subscribers: hiraditya, qcolombet, MatzeB.
Herald added a project: All.
0x59616e requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The assumption that the size of the stack slot for spilled register is 4 bytes isn't implemented in M68kRegisterInfo.td.

      

Fixes #57660


https://reviews.llvm.org/D133636

Files:
  llvm/lib/Target/M68k/M68kRegisterInfo.td
  llvm/test/CodeGen/M68k/fast-regalloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133636.459266.patch
Type: text/x-patch
Size: 3538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220910/94efd6b3/attachment.bin>


More information about the llvm-commits mailing list