[all-commits] [llvm/llvm-project] 3416d4: [AA] Assert that alias() arguments are pointers (#...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 5 03:09:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3416d4fcee01b63002b95774e9aff35a0ab8ef9e
      https://github.com/llvm/llvm-project/commit/3416d4fcee01b63002b95774e9aff35a0ab8ef9e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M llvm/lib/Analysis/AliasAnalysis.cpp
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp

  Log Message:
  -----------
  [AA] Assert that alias() arguments are pointers (#138242)

Assert instead of returning NoAlias for non-pointers. This makes sure
that people don't confuse alias (working on locations) with
getModRefInfo (working on instructions).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list