[all-commits] [llvm/llvm-project] a1dc6d: [AArch64] Do not use ABI alignment for mops.memset...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 1 05:38:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1dc6d4b83a38a52daab08ad52b68a7b80103709
      https://github.com/llvm/llvm-project/commit/a1dc6d4b83a38a52daab08ad52b68a7b80103709
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-01 (Tue, 01 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/aarch64-mops-mte.ll

  Log Message:
  -----------
  [AArch64] Do not use ABI alignment for mops.memset.tag

Pointer element types do not imply that the pointer is ABI aligned.
We should be using either an explicit align attribute here, or fall
back to an alignment of 1. This fixes a new element type access
introduced in D117764.

I don't think this makes any practical difference though, as the
lowering does not depend on alignment.

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




More information about the All-commits mailing list