[all-commits] [llvm/llvm-project] 93a636: [IR] Lift attribute handling for assume bundles in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Mar 25 13:16:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93a636d9f6385543a1c77506880a08e10c50792f
      https://github.com/llvm/llvm-project/commit/93a636d9f6385543a1c77506880a08e10c50792f
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  [IR] Lift attribute handling for assume bundles into CallBase

Rather than special-casing assume in BasicAA getModRefBehavior(),
do this one level higher, in the attribute handling of CallBase.

For assumes with operand bundles, the inaccessiblememonly attribute
applies regardless of operand bundles.




More information about the All-commits mailing list