[all-commits] [llvm/llvm-project] 513ac6: [Attributor] Ignore illegal accesses to `null`

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun May 10 17:08:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 513ac6e9b045dd2d5e0d1a5e221380cfb999676a
      https://github.com/llvm/llvm-project/commit/513ac6e9b045dd2d5e0d1a5e221380cfb999676a
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-05-10 (Sun, 10 May 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor] Ignore illegal accesses to `null`

When we categorize a pointer value we bailed at `null` before. If we
know `null` is not a valid memory location we can ignore it as there
won't be an access at all.




More information about the All-commits mailing list