[all-commits] [llvm/llvm-project] 3fe28c: [AssumptionCache] Do not track llvm.assume calls (...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Feb 15 11:52:15 PST 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fe28ce26a3302c799ad731b9b0a8408bf553aef
      https://github.com/llvm/llvm-project/commit/3fe28ce26a3302c799ad731b9b0a8408bf553aef
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/AssumptionCache.h
    A llvm/test/Transforms/GVNSink/assumption.ll

  Log Message:
  -----------
  [AssumptionCache] Do not track llvm.assume calls (PR49043)

This fixes PR49043 by invalidating the handle on RAUW. This will work
fine assuming all existing RAUW users add the new assumption to the
cache. That means, if a new llvm.assume call replaces an old one, you
need to add the new one now as a RAUW is not enough anymore.

Reviewed By: nikic

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

(cherry picked from commit 378f4e5ec26c3e0d2119c1112ec645b369eed2de)




More information about the All-commits mailing list