[all-commits] [llvm/llvm-project] 2f6b9e: [AliasAnalysis] Add missing FMRB_* enums.

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Jan 28 15:47:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f6b9edfa8a2aa901ed35dc754ebc3e7c3cd2a33
      https://github.com/llvm/llvm-project/commit/2f6b9edfa8a2aa901ed35dc754ebc3e7c3cd2a33
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/lib/Analysis/AliasAnalysis.cpp
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M polly/lib/Analysis/ScopBuilder.cpp
    M polly/lib/Analysis/ScopDetection.cpp
    M polly/test/ScopInfo/memset_null.ll

  Log Message:
  -----------
  [AliasAnalysis] Add missing FMRB_* enums.

Previously, the enums didn't account for all the possible cases, which
could cause misleading results (particularly for a "switch" on
FunctionModRefBehavior).

Fixes regression in polly from recent patch to add writeonly to memset.

While I'm here, also fix a few dubious uses of the FMRB_* enum values.

Differential Revision: https://reviews.llvm.org/D73154




More information about the All-commits mailing list