[all-commits] [llvm/llvm-project] 3d5374: [Attributor][NFC] Precommit tests (#64613)

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Aug 11 14:18:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d53744b871f93b5062a33b7e854d9d46bdfdae5
      https://github.com/llvm/llvm-project/commit/3d53744b871f93b5062a33b7e854d9d46bdfdae5
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M llvm/test/Transforms/Attributor/nocapture-2.ll

  Log Message:
  -----------
  [Attributor][NFC] Precommit tests (#64613)


  Commit: 5a406b63e9d70225cd56fd5c3b791e78f4aed3cc
      https://github.com/llvm/llvm-project/commit/5a406b63e9d70225cd56fd5c3b791e78f4aed3cc
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/nocapture-2.ll

  Log Message:
  -----------
  [Attributor][FIX] Stores capture, even for readonly functions

If we end up visiting a store use, we couldn't follow to the "reloads".
The capture effect of a store is more than memory as the reloads are
unknown.

Fixes: https://github.com/llvm/llvm-project/issues/64613


Compare: https://github.com/llvm/llvm-project/compare/66bb6b4fdaed...5a406b63e9d7


More information about the All-commits mailing list