[all-commits] [llvm/llvm-project] 577cf2: [M68k] Update pointer data layout

Ricky Taylor via All-commits all-commits at lists.llvm.org
Tue Aug 31 20:57:35 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 577cf27b78454e4201eea5c3d4513a7a71ae66df
      https://github.com/llvm/llvm-project/commit/577cf27b78454e4201eea5c3d4513a7a71ae66df
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M clang/lib/Basic/Targets/M68k.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp

  Log Message:
  -----------
  [M68k] Update pointer data layout

Fixes PR51626.

The M68k requires that all instruction, word and long word reads are
aligned to word boundaries. From the 68020 onwards, there is a
performance benefit from aligning long words to long word boundaries.

The M68k uses the same data layout for pointers and integers.

In line with this, this commit updates the pointer data layout to
match the layout already set for 32-bit integers: 32:16:32.

Differential Revision: https://reviews.llvm.org/D108792

(cherry picked from commit 8d3f112f0cdbed2311aead86bcd72e763ad55255)




More information about the All-commits mailing list