[all-commits] [llvm/llvm-project] 11a3f0: [Utils] Make -assume-builder/-assume-simplify actu...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Jul 4 11:07:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 11a3f040c71020b0247144268570d571858b119c
      https://github.com/llvm/llvm-project/commit/11a3f040c71020b0247144268570d571858b119c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-04 (Sat, 04 Jul 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
    M llvm/lib/Transforms/Utils/Utils.cpp
    M llvm/test/Transforms/Util/assume-builder.ll
    M llvm/test/Transforms/Util/assume-simplify.ll

  Log Message:
  -----------
  [Utils] Make -assume-builder/-assume-simplify actually work on Old-PM

clang w/ old-pm currently would simply crash
when -mllvm  -enable-knowledge-retention=true is specified.

Clearly, these two passes had no Old-PM test coverage,
which would have shown the problem - not requiring AssumptionCacheTracker,
but then trying to always get it.

Also, why try to get domtree only if it's cached,
but at the same time marking it as required?




More information about the All-commits mailing list