[all-commits] [llvm/llvm-project] 3c6fe0: [BasicAA] Fix stale comment (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Oct 17 15:03:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c6fe0fc775781333eed591bf9e67e7c14810aa0
      https://github.com/llvm/llvm-project/commit/3c6fe0fc775781333eed591bf9e67e7c14810aa0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-10-17 (Sat, 17 Oct 2020)

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

  Log Message:
  -----------
  [BasicAA] Fix stale comment (NFC)

DataLayout is always around...


  Commit: 9d2b8300b768715bb3e0e151de37136f29b29590
      https://github.com/llvm/llvm-project/commit/9d2b8300b768715bb3e0e151de37136f29b29590
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-10-18 (Sun, 18 Oct 2020)

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

  Log Message:
  -----------
  [BasicAA] Avoid alias query if result cannot be used (NFCI)

Rather then querying first and then checking additional conditions,
check the conditions first. They are much cheaper than the alias
query.


Compare: https://github.com/llvm/llvm-project/compare/2a75e956e5ce...9d2b8300b768


More information about the All-commits mailing list