[all-commits] [llvm/llvm-project] 4df3b6: Add pre-commit tests for [D102215](https://reviews...

darkbuck via All-commits all-commits at lists.llvm.org
Tue May 25 11:43:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4df3b60199ef80dfbd84c8cee8c8afd511443330
      https://github.com/llvm/llvm-project/commit/4df3b60199ef80dfbd84c8cee8c8afd511443330
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    A llvm/test/CodeGen/AArch64/memcpy-scoped-aa.ll
    A llvm/test/CodeGen/AMDGPU/memcpy-scoped-aa.ll
    A llvm/test/CodeGen/X86/memcpy-scoped-aa.ll

  Log Message:
  -----------
  Add pre-commit tests for [D102215](https://reviews.llvm.org/D102215).


  Commit: c9dd29925f0c27cb59700b9933c41360d21350d3
      https://github.com/llvm/llvm-project/commit/c9dd29925f0c27cb59700b9933c41360d21350d3
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AArch64/memcpy-scoped-aa.ll
    M llvm/test/CodeGen/AMDGPU/memcpy-scoped-aa.ll
    M llvm/test/CodeGen/X86/memcpy-scoped-aa.ll

  Log Message:
  -----------
  [SelectionDAG] Propagate scoped AA metadata when lowering mem intrinsics.

- When memory intrinsics, such as memcpy, the attached scoped AA
  metadata is not passed down to the backend. As a result, the backend
  cannot schedule relevant memory operations around them following that
  hint. In this patch, SelectionDAG is enhanced to propagate that
  metadata (scoped AA only) when they are lowered into loads and stores.

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


Compare: https://github.com/llvm/llvm-project/compare/1bf3fd9bb55a...c9dd29925f0c


More information about the All-commits mailing list