[all-commits] [llvm/llvm-project] 565b28: [GVN][NFC] Pre-commit test for D93503

KAWASHIMA Takahiro via All-commits all-commits at lists.llvm.org
Wed Mar 31 18:01:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 565b28f57b55a88de96b5d58a92bce904f4a9afc
      https://github.com/llvm/llvm-project/commit/565b28f57b55a88de96b5d58a92bce904f4a9afc
  Author: KAWASHIMA Takahiro <t-kawashima at fujitsu.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    A llvm/test/Transforms/GVN/PRE/load-pre-metadata-accsess-group.ll

  Log Message:
  -----------
  [GVN][NFC] Pre-commit test for D93503


  Commit: 5fac7c60467c58d567779c3568dcfeb8d164af21
      https://github.com/llvm/llvm-project/commit/5fac7c60467c58d567779c3568dcfeb8d164af21
  Author: KAWASHIMA Takahiro <t-kawashima at fujitsu.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/PRE/load-pre-metadata-accsess-group.ll

  Log Message:
  -----------
  [GVN] Propagate llvm.access.group metadata of loads

Before this change, the `llvm.access.group` metadata was dropped
when moving a load instruction in GVN. This prevents vectorizing
a C/C++ loop with `#pragma clang loop vectorize(assume_safety)`.
This change propagates the metadata as well as other metadata if
it is safe (the move-destination basic block and source basic
block belong to the same loop).

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


Compare: https://github.com/llvm/llvm-project/compare/62b74f75645f...5fac7c60467c


More information about the All-commits mailing list