[all-commits] [llvm/llvm-project] b3ac5b: [SystemZ] Fix vecintrin.h to not emit alignment hi...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Feb 12 16:30:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3ac5b84cdd46fc62a7215ae6b11f3c005900461
      https://github.com/llvm/llvm-project/commit/b3ac5b84cdd46fc62a7215ae6b11f3c005900461
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M clang/lib/Headers/vecintrin.h
    M clang/test/CodeGen/SystemZ/builtins-systemz-zvector-constrained.c

  Log Message:
  -----------
  [SystemZ] Fix vecintrin.h to not emit alignment hints in vec_xl/vec_xst.

vec_xl() and vec_xst() should not emit alignment hints since they take a
scalar pointer and also add a byte offset if passed.

This patch uses memcpy to achieve the desired result.

Review: Ulrich Weigand

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




More information about the All-commits mailing list