[all-commits] [llvm/llvm-project] 60990d: [BasicAA] Move experimental.guard modelling to get...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 22 07:51:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60990d9042b9668001bcfa095b970558fc63e5a9
      https://github.com/llvm/llvm-project/commit/60990d9042b9668001bcfa095b970558fc63e5a9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

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

  Log Message:
  -----------
  [BasicAA] Move experimental.guard modelling to getModRefBehavior()

While we can't express this with attributes yet, we can model
these intrinsics as readonly + writing inaccessible memory (for
the control dependence) in FMRB. This way we don't need to
special-case them in getModRefInfo(), it falls out of the usual
logic.




More information about the All-commits mailing list