[all-commits] [llvm/llvm-project] 2e7636: [AAPointerInfo] check for Unknown offsets in callee

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Mon Oct 31 09:46:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e7636c13b833270084b0e7b42cb0770555dac4c
      https://github.com/llvm/llvm-project/commit/2e7636c13b833270084b0e7b42cb0770555dac4c
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    A llvm/test/Transforms/Attributor/call-simplify-pointer-info.ll

  Log Message:
  -----------
  [AAPointerInfo] check for Unknown offsets in callee

When translating offset info from the callee at a call site, first check if the
offset is Unknown. Any offset in the caller should be added only if the callee
offset is valid.

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




More information about the All-commits mailing list