[all-commits] [llvm/llvm-project] 253d6b: [Attributor][FIX] Properly check for accesses to g...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Apr 15 22:57:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 253d6be0f6fa7d96f78127a6da527d38f02e81d8
      https://github.com/llvm/llvm-project/commit/253d6be0f6fa7d96f78127a6da527d38f02e81d8
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

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

  Log Message:
  -----------
  [Attributor][FIX] Properly check for accesses to globals

The check if globals were accessed was not always working because two
bits are set for NO_GLOBAL_MEM. The new check works also if only on kind
of globals (internal/external) is accessed.




More information about the All-commits mailing list