[all-commits] [llvm/llvm-project] 8d3f11: [M68k] Update pointer data layout

Ricky Taylor via All-commits all-commits at lists.llvm.org
Fri Aug 27 03:48:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d3f112f0cdbed2311aead86bcd72e763ad55255
      https://github.com/llvm/llvm-project/commit/8d3f112f0cdbed2311aead86bcd72e763ad55255
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-08-27 (Fri, 27 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




More information about the All-commits mailing list