[all-commits] [llvm/llvm-project] 4e4f83: [X86] Use the unaligned vector typedefs for the ld...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Mar 17 03:42:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e4f839ac2a9002df504f1bed8383c2d7d72e86e
      https://github.com/llvm/llvm-project/commit/4e4f839ac2a9002df504f1bed8383c2d7d72e86e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M clang/lib/Headers/avxintrin.h
    M clang/lib/Headers/pmmintrin.h

  Log Message:
  -----------
  [X86] Use the unaligned vector typedefs for the lddqu intrinsics pointer arguments (PR20670)

Extension to 4390c721cba09597037578100948bbc83cc41b16 - similar to the vanilla load/store intrinsics, _mm_lddqu_si128/_mm256_lddqu_si256 should take an unaligned pointer, but were using the aligned m128i/m256i types which can cause alignment warnings.

The existing sse3-builtins.c and avx-builtins.c tests in llvm-project\clang\test\CodeGen\X86 should cover this.

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




More information about the All-commits mailing list